Color: #D28CFC

#D28CFC Color Information

#D28CFC is a light color. The closest websafe version is #D28CFC. A complement of this color would be #B5FC8D, perceived brightness is 0.68, and the grayscale version is #C4C4C4.

In the HSL color space, this color has a hue angle of 278°,a saturation of 95%, and a lightness of 77%.The HSV representation shows a hue of 278°, a saturation of 44%, and a value of 99%.

In a RGB color space, #D28CFC is composed of 82% red, 55% green and 99% blue. Whereas in a CMYK color space, it is composed of 17% cyan, 44% magenta, 0% yellow and 1% black.

In the Yxy color space, this color is represented as Y: 39.04, x: 0.3176, and y: 0.2378.

Color Code #D28CFC

#D28CFCrgb(210, 140, 252)
HEX
#D28CFC
RGB
rgb(210, 140, 252)
HSL
hsl(278, 95%, 77%)
HSV
hsv(278, 44%, 99%)
CMYK
17%, 44%, 0%, 1%
XYZ
X: 52.13, Y: 39.04, Z: 72.97
Lab
L: 68.78, a: 41.89, b: -45.79
Name

Shades of Color #D28CFC

Shades are created by darkening the original color #D28CFC in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #D28CFC

Tints are created by lightening the original color #D28CFC in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

#D28CFCrgb(210, 140, 252)

About #D28CFC Color Code

In the HSL color space, this color has a hue angle of 278°, a saturation of 95%, and a lightness of 77%. The HSV representation shows a hue of 278°, a saturation of 44%, and a value of 99%.

  • HEX: #D28CFC
  • RGB: rgb(210, 140, 252)
  • HSL: hsl(278, 95%, 77%)
  • HSV: hsv(278, 44%, 99%)
  • CMYK: 17.00% cyan, 44.00% magenta, 0.00% yellow, 100.00% black
  • XYZ: 52.13, 39.04, 72.97
  • Yxy: 39.04, 0.3176, 0.2378
  • Hunter Lab: 68.78, 41.89, -45.79
  • CIE-Lab: 68.78, 41.89, -45.79

In the XYZ color space, this color is represented as X: 52.13, Y: 39.04, Z: 72.97. The Yxy representation further refines this as Y: 39.04, x: 0.3176, and y: 0.2378.

In the Hunter Lab color space, this color is represented as L: 68.78, a: 41.89, and b: -45.79. Similarly, in the CIE-Lab color space, it is represented as L: 68.78, a: 41.89, and b: -45.79.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #D28CFC

Triadic colors are three colors evenly spaced around the color wheel, including #D28CFC. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #D28CFC

Analogous colors are adjacent to #D28CFC on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Monochromatic Colors of #D28CFC

Monochromatic colors are variations of #D28CFC, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #D28CFC

The complementary color of #D28CFC is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #D28CFC

/* Using HEX */
body {
  background-color: #d28cfc;
}
/* Using RGB */
body {
  background-color: rgb(210, 140, 252);
}
/* Using RGB with opacity */
body {
  background-color: rgba(210, 140, 252, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(278, 95%, 77%);
}
/* Text color */
p {
  color: #d28cfc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #d28cfc;
}
/* Border color */
.box {
  border: 4px solid #d28cfc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #d28cfc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #d28cfc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#D28CFC
On Black Background
#D28CFC
On White Background
#D28CFC

HTML Examples of #D28CFC

<!-- Using HEX -->
<div style="background-color: #d28cfc; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(210, 140, 252); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(210, 140, 252, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(278, 95%, 77%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #d28cfc;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #d28cfc; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #d28cfc; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #d28cfc;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #d28cfc; color: #fff; padding: 16px; border-radius: 8px;">
  #D28CFC
</div>
#D28CFC
On Black Background
#D28CFC
On White Background
#D28CFC

Related Colors of #D28CFC

These colors are similar to #D28CFC, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.