Color: #CFAFDB

#CFAFDB Color Information

#CFAFDB is a light color. The closest websafe version is #CFAFDB. A complement of this color would be #BADBAE, perceived brightness is 0.74, and the grayscale version is #C5C5C5.

In the HSL color space, this color has a hue angle of 284°,a saturation of 38%, and a lightness of 77%.The HSV representation shows a hue of 284°, a saturation of 20%, and a value of 86%.

In a RGB color space, #CFAFDB is composed of 81% red, 69% green and 86% blue. Whereas in a CMYK color space, it is composed of 5% cyan, 20% magenta, 0% yellow and 14% black.

In the Yxy color space, this color is represented as Y: 48.91, x: 0.3400, and y: 0.3088.

Color Code #CFAFDB

#CFAFDBrgb(207, 175, 219)
HEX
#CFAFDB
RGB
rgb(207, 175, 219)
HSL
hsl(284, 38%, 77%)
HSV
hsv(284, 20%, 86%)
CMYK
5%, 20%, 0%, 14%
XYZ
X: 53.85, Y: 48.91, Z: 55.62
Lab
L: 75.39, a: 17.82, b: -17.78
Name

Shades of Color #CFAFDB

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

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

#CFAFDBrgb(207, 175, 219)

About #CFAFDB Color Code

In the HSL color space, this color has a hue angle of 284°, a saturation of 38%, and a lightness of 77%. The HSV representation shows a hue of 284°, a saturation of 20%, and a value of 86%.

  • HEX: #CFAFDB
  • RGB: rgb(207, 175, 219)
  • HSL: hsl(284, 38%, 77%)
  • HSV: hsv(284, 20%, 86%)
  • CMYK: 5.00% cyan, 20.00% magenta, 0.00% yellow, 14.00% black
  • XYZ: 53.85, 48.91, 55.62
  • Yxy: 48.91, 0.3400, 0.3088
  • Hunter Lab: 75.39, 17.82, -17.78
  • CIE-Lab: 75.39, 17.82, -17.78

In the XYZ color space, this color is represented as X: 53.85, Y: 48.91, Z: 55.62. The Yxy representation further refines this as Y: 48.91, x: 0.3400, and y: 0.3088.

In the Hunter Lab color space, this color is represented as L: 75.39, a: 17.82, and b: -17.78. Similarly, in the CIE-Lab color space, it is represented as L: 75.39, a: 17.82, and b: -17.78.

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

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

Analogous Colors of #CFAFDB

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

Monochromatic Colors of #CFAFDB

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

Complementary Color of #CFAFDB

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

/* Using HEX */
body {
  background-color: #cfafdb;
}
/* Using RGB */
body {
  background-color: rgb(207, 175, 219);
}
/* Using RGB with opacity */
body {
  background-color: rgba(207, 175, 219, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(284, 38%, 77%);
}
/* Text color */
p {
  color: #cfafdb;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #cfafdb;
}
/* Border color */
.box {
  border: 4px solid #cfafdb;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #cfafdb;
}
Text Shadow Preview
/* Background with text */
div {
  background: #cfafdb;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#CFAFDB
On Black Background
#CFAFDB
On White Background
#CFAFDB

HTML Examples of #CFAFDB

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

Related Colors of #CFAFDB

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