Color: #D8CAFC

#D8CAFC Color Information

#D8CAFC is a light color. The closest websafe version is #D8CAFC. A complement of this color would be #EEFCCA, perceived brightness is 0.83, and the grayscale version is #E3E3E3.

In the HSL color space, this color has a hue angle of 257°,a saturation of 89%, and a lightness of 89%.The HSV representation shows a hue of 257°, a saturation of 20%, and a value of 99%.

In a RGB color space, #D8CAFC is composed of 85% red, 79% green and 99% blue. Whereas in a CMYK color space, it is composed of 14% cyan, 20% magenta, 0% yellow and 1% black.

In the Yxy color space, this color is represented as Y: 63.52, x: 0.3228, and y: 0.3078.

Color Code #D8CAFC

#D8CAFCrgb(216, 202, 252)
HEX
#D8CAFC
RGB
rgb(216, 202, 252)
HSL
hsl(257, 89%, 89%)
HSV
hsv(257, 20%, 99%)
CMYK
14%, 20%, 0%, 1%
XYZ
X: 66.62, Y: 63.52, Z: 76.21
Lab
L: 83.72, a: 12.21, b: -22.85
Name

Shades of Color #D8CAFC

Shades are created by darkening the original color #D8CAFC 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 #D8CAFC

Tints are created by lightening the original color #D8CAFC 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.

#D8CAFCrgb(216, 202, 252)

About #D8CAFC Color Code

In the HSL color space, this color has a hue angle of 257°, a saturation of 89%, and a lightness of 89%. The HSV representation shows a hue of 257°, a saturation of 20%, and a value of 99%.

  • HEX: #D8CAFC
  • RGB: rgb(216, 202, 252)
  • HSL: hsl(257, 89%, 89%)
  • HSV: hsv(257, 20%, 99%)
  • CMYK: 14.00% cyan, 20.00% magenta, 0.00% yellow, 100.00% black
  • XYZ: 66.62, 63.52, 76.21
  • Yxy: 63.52, 0.3228, 0.3078
  • Hunter Lab: 83.72, 12.21, -22.85
  • CIE-Lab: 83.72, 12.21, -22.85

In the XYZ color space, this color is represented as X: 66.62, Y: 63.52, Z: 76.21. The Yxy representation further refines this as Y: 63.52, x: 0.3228, and y: 0.3078.

In the Hunter Lab color space, this color is represented as L: 83.72, a: 12.21, and b: -22.85. Similarly, in the CIE-Lab color space, it is represented as L: 83.72, a: 12.21, and b: -22.85.

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 #D8CAFC

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

Analogous Colors of #D8CAFC

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

Monochromatic Colors of #D8CAFC

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

Complementary Color of #D8CAFC

The complementary color of #D8CAFC 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 #D8CAFC

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

HTML Examples of #D8CAFC

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

Related Colors of #D8CAFC

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