Color: #D2AFFC
#D2AFFC Color Information
#D2AFFC is a light color. The closest websafe version is #D2AFFC. A complement of this color would be #DAFCB0, perceived brightness is 0.76, and the grayscale version is #D6D6D6.
In the HSL color space, this color has a hue angle of 267°,a saturation of 93%, and a lightness of 84%.The HSV representation shows a hue of 267°, a saturation of 31%, and a value of 99%.
In a RGB color space, #D2AFFC is composed of 82% red, 69% green and 99% blue. Whereas in a CMYK color space, it is composed of 17% cyan, 31% magenta, 0% yellow and 1% black.
In the Yxy color space, this color is represented as Y: 50.97, x: 0.3180, and y: 0.2769.
Color Code #D2AFFC
Shades of Color #D2AFFC
Shades are created by darkening the original color #D2AFFC 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 #D2AFFC
Tints are created by lightening the original color #D2AFFC 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 #D2AFFC Color Code
In the HSL color space, this color has a hue angle of 267°, a saturation of 93%, and a lightness of 84%. The HSV representation shows a hue of 267°, a saturation of 31%, and a value of 99%.
- HEX: #D2AFFC
- RGB: rgb(210, 175, 252)
- HSL: hsl(267, 93%, 84%)
- HSV: hsv(267, 31%, 99%)
- CMYK: 17.00% cyan, 31.00% magenta, 0.00% yellow, 100.00% black
- XYZ: 58.54, 50.97, 74.58
- Yxy: 50.97, 0.3180, 0.2769
- Hunter Lab: 76.66, 23.97, -33.61
- CIE-Lab: 76.66, 23.97, -33.61
In the XYZ color space, this color is represented as X: 58.54, Y: 50.97, Z: 74.58. The Yxy representation further refines this as Y: 50.97, x: 0.3180, and y: 0.2769.
In the Hunter Lab color space, this color is represented as L: 76.66, a: 23.97, and b: -33.61. Similarly, in the CIE-Lab color space, it is represented as L: 76.66, a: 23.97, and b: -33.61.
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 #D2AFFC
Triadic colors are three colors evenly spaced around the color wheel, including #D2AFFC. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Split Complementary Colors of #D2AFFC
Split complementary colors are two colors adjacent to the complementary color of #D2AFFC. They create a balanced and visually appealing color scheme.
Monochromatic Colors of #D2AFFC
Monochromatic colors are variations of #D2AFFC, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #D2AFFC
The complementary color of #D2AFFC 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 #D2AFFC
/* Using HEX */ body { background-color: #d2affc; }
/* Using RGB */ body { background-color: rgb(210, 175, 252); }
/* Using RGB with opacity */ body { background-color: rgba(210, 175, 252, 0.5); }
/* Using HSL */ body { background-color: hsl(267, 93%, 84%); }
/* Text color */ p { color: #d2affc; }
/* Box shadow */ div { box-shadow: 4px 4px #d2affc; }
/* Border color */ .box { border: 4px solid #d2affc; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #d2affc; }
/* Background with text */ div { background: #d2affc; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #D2AFFC
<!-- Using HEX --> <div style="background-color: #d2affc; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(210, 175, 252); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(210, 175, 252, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(267, 93%, 84%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #d2affc;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #d2affc; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #d2affc; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #d2affc;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #d2affc; color: #fff; padding: 16px; border-radius: 8px;"> #D2AFFC </div>
Related Colors of #D2AFFC
These colors are similar to #D2AFFC, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.