Color: #D8BAF6

#D8BAF6 Color Information

#D8BAF6 is a light color. The closest websafe version is #D8BAF6. A complement of this color would be #D9F6BB, perceived brightness is 0.79, and the grayscale version is #D8D8D8.

In the HSL color space, this color has a hue angle of 270°,a saturation of 77%, and a lightness of 85%.The HSV representation shows a hue of 270°, a saturation of 24%, and a value of 96%.

In a RGB color space, #D8BAF6 is composed of 85% red, 73% green and 96% blue. Whereas in a CMYK color space, it is composed of 12% cyan, 24% magenta, 0% yellow and 4% black.

In the Yxy color space, this color is represented as Y: 56.07, x: 0.3271, and y: 0.2956.

Color Code #D8BAF6

#D8BAF6rgb(216, 186, 246)
HEX
#D8BAF6
RGB
rgb(216, 186, 246)
HSL
hsl(270, 77%, 85%)
HSV
hsv(270, 24%, 96%)
CMYK
12%, 24%, 0%, 4%
XYZ
X: 62.04, Y: 56.07, Z: 71.54
Lab
L: 79.65, a: 19.36, b: -25.79
Name

Shades of Color #D8BAF6

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

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

#D8BAF6rgb(216, 186, 246)

About #D8BAF6 Color Code

In the HSL color space, this color has a hue angle of 270°, a saturation of 77%, and a lightness of 85%. The HSV representation shows a hue of 270°, a saturation of 24%, and a value of 96%.

  • HEX: #D8BAF6
  • RGB: rgb(216, 186, 246)
  • HSL: hsl(270, 77%, 85%)
  • HSV: hsv(270, 24%, 96%)
  • CMYK: 12.00% cyan, 24.00% magenta, 0.00% yellow, 4.00% black
  • XYZ: 62.04, 56.07, 71.54
  • Yxy: 56.07, 0.3271, 0.2956
  • Hunter Lab: 79.65, 19.36, -25.79
  • CIE-Lab: 79.65, 19.36, -25.79

In the XYZ color space, this color is represented as X: 62.04, Y: 56.07, Z: 71.54. The Yxy representation further refines this as Y: 56.07, x: 0.3271, and y: 0.2956.

In the Hunter Lab color space, this color is represented as L: 79.65, a: 19.36, and b: -25.79. Similarly, in the CIE-Lab color space, it is represented as L: 79.65, a: 19.36, and b: -25.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 #D8BAF6

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

Analogous Colors of #D8BAF6

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

Monochromatic Colors of #D8BAF6

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

Complementary Color of #D8BAF6

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

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

HTML Examples of #D8BAF6

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

Related Colors of #D8BAF6

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