Color: #CFA8DC
#CFA8DC Color Information
#CFA8DC is a light color. The closest websafe version is #CFA8DC. A complement of this color would be #B5DCA7, perceived brightness is 0.73, and the grayscale version is #C2C2C2.
In the HSL color space, this color has a hue angle of 285°,a saturation of 43%, and a lightness of 76%.The HSV representation shows a hue of 285°, a saturation of 24%, and a value of 86%.
In a RGB color space, #CFA8DC is composed of 81% red, 66% green and 86% blue. Whereas in a CMYK color space, it is composed of 6% cyan, 24% magenta, 0% yellow and 14% black.
In the Yxy color space, this color is represented as Y: 46.29, x: 0.3398, and y: 0.2994.
Color Code #CFA8DC
Shades of Color #CFA8DC
Shades are created by darkening the original color #CFA8DC 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 #CFA8DC
Tints are created by lightening the original color #CFA8DC 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.
About #CFA8DC Color Code
In the HSL color space, this color has a hue angle of 285°, a saturation of 43%, and a lightness of 76%. The HSV representation shows a hue of 285°, a saturation of 24%, and a value of 86%.
- HEX: #CFA8DC
- RGB: rgb(207, 168, 220)
- HSL: hsl(285, 43%, 76%)
- HSV: hsv(285, 24%, 86%)
- CMYK: 6.00% cyan, 24.00% magenta, 0.00% yellow, 14.00% black
- XYZ: 52.53, 46.29, 55.78
- Yxy: 46.29, 0.3398, 0.2994
- Hunter Lab: 73.74, 21.57, -20.81
- CIE-Lab: 73.74, 21.57, -20.81
In the XYZ color space, this color is represented as X: 52.53, Y: 46.29, Z: 55.78. The Yxy representation further refines this as Y: 46.29, x: 0.3398, and y: 0.2994.
In the Hunter Lab color space, this color is represented as L: 73.74, a: 21.57, and b: -20.81. Similarly, in the CIE-Lab color space, it is represented as L: 73.74, a: 21.57, and b: -20.81.
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 #CFA8DC
Triadic colors are three colors evenly spaced around the color wheel, including #CFA8DC. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #CFA8DC
Monochromatic colors are variations of #CFA8DC, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #CFA8DC
The complementary color of #CFA8DC 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 #CFA8DC
/* Using HEX */ body { background-color: #cfa8dc; }
/* Using RGB */ body { background-color: rgb(207, 168, 220); }
/* Using RGB with opacity */ body { background-color: rgba(207, 168, 220, 0.5); }
/* Using HSL */ body { background-color: hsl(285, 43%, 76%); }
/* Text color */ p { color: #cfa8dc; }
/* Box shadow */ div { box-shadow: 4px 4px #cfa8dc; }
/* Border color */ .box { border: 4px solid #cfa8dc; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #cfa8dc; }
/* Background with text */ div { background: #cfa8dc; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #CFA8DC
<!-- Using HEX --> <div style="background-color: #cfa8dc; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(207, 168, 220); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(207, 168, 220, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(285, 43%, 76%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #cfa8dc;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #cfa8dc; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #cfa8dc; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #cfa8dc;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #cfa8dc; color: #fff; padding: 16px; border-radius: 8px;"> #CFA8DC </div>
Related Colors of #CFA8DC
These colors are similar to #CFA8DC, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.