#D8C7EC color
The hex color #D8C7EC is a very light, desaturated violet.
In the RGB color model it is made of 84.7% red, 78% green and 92.5% blue (216, 199, 236).
Its hue angle is 268°, with 49% saturation and 85% lightness. For print, the CMYK equivalent is 8% cyan, 16% magenta, 0% yellow and 7% black.
The closest named color is Foggy Love (#D5C7E8), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 13.3:1).
#D8C7EC color codes
| HEX | #D8C7EC | |
|---|---|---|
| RGB | rgb(216, 199, 236) | |
| RGB percent | rgb(84.7%, 78%, 92.5%) | |
| HSL | hsl(268, 49%, 85%) | |
| HSV / HSB | hsv(268, 16%, 93%) | |
| CMYK | cmyk(8%, 16%, 0%, 7%) | |
| CIE LAB | lab(82.65, 12.76, -16.11) | |
| CIE LCH | lch(82.65, 20.55, 308.4) | |
| CIE XYZ | xyz(63.88, 61.502, 87.846) | |
| Decimal | 14206956 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D8C7EC, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #D8C7EC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.3:1 | Pass | Pass | Pass |
| Sample text | 1.58:1 | Fail | Fail | Fail |
| #D8C7EC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.3:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #D8C7EC looks to people with the most common types of color vision deficiency.
#c1cdeeProtanopia
no red cones#c4ceebDeuteranopia
no green cones#d5ccd3Tritanopia
no blue cones#cececeAchromatopsia
no color vision
CSS examples
.background { background-color: #d8c7ec; }
.text { color: #d8c7ec; }
.border { border: 2px solid #d8c7ec; }
.transparent { background-color: rgb(216 199 236 / 50%); }
.gradient { background: linear-gradient(to right, #d8c7ec, #ebc7ec); }
Similar colors
#d5c7e8Foggy Love#d3bfe5York Plum#ccbbddSweet Lucid Dreams#cac0e1Digital Lavender#cabae0Viking Diva#d1c0dcGirl Crush#cbc3e3Light Purple#cec3ddLavender Bliss
Questions
- What color is #D8C7EC?
- #D8C7EC is a very light, desaturated violet, closest to the named color Foggy Love. It belongs to the purple family of colors.
- What is the RGB value of #D8C7EC?
- The RGB value is 216, 199, 236: 216 red, 199 green and 236 blue on a 0 to 255 scale.
- What is the complementary color of #D8C7EC?
- The complementary color is #DBECC7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D8C7EC?
- Black text. Black text has a contrast ratio of 13.3:1 and white text 1.58:1. WCAG asks for at least 4.5:1 for normal text.