#D8D1E7 color
The hex color #D8D1E7 is a very light, desaturated violet.
In the RGB color model it is made of 84.7% red, 82% green and 90.6% blue (216, 209, 231).
Its hue angle is 259°, with 31% saturation and 86% lightness. For print, the CMYK equivalent is 6% cyan, 10% magenta, 0% yellow and 9% black.
The closest named color is Dust of the Moon (#CFC9DF), a difference of 2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 14.19:1).
#D8D1E7 color codes
| HEX | #D8D1E7 | |
|---|---|---|
| RGB | rgb(216, 209, 231) | |
| RGB percent | rgb(84.7%, 82%, 90.6%) | |
| HSL | hsl(259, 31%, 86%) | |
| HSV / HSB | hsv(259, 10%, 91%) | |
| CMYK | cmyk(6%, 10%, 0%, 9%) | |
| CIE LAB | lab(84.98, 6.47, -9.95) | |
| CIE LCH | lch(84.98, 11.87, 303.03) | |
| CIE XYZ | xyz(65.541, 65.969, 84.866) | |
| Decimal | 14209511 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D8D1E7, 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 #D8D1E7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.19:1 | Pass | Pass | Pass |
| Sample text | 1.48:1 | Fail | Fail | Fail |
| #D8D1E7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.19: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 #D8D1E7 looks to people with the most common types of color vision deficiency.
#cdd4e8Protanopia
no red cones#ced4e6Deuteranopia
no green cones#d6d4d8Tritanopia
no blue cones#d4d4d4Achromatopsia
no color vision
CSS examples
.background { background-color: #d8d1e7; }
.text { color: #d8d1e7; }
.border { border: 2px solid #d8d1e7; }
.transparent { background-color: rgb(216 209 231 / 50%); }
.gradient { background: linear-gradient(to right, #d8d1e7, #e3d1e7); }
Similar colors
#cfc9dfDust of the Moon#cfcbe5Foggy Plateau#cec3ddLavender Bliss#d0c4d3Mecha Kitty#e8dfedPink Champagne#d6d1dcIron Maiden#cbc3e3Light Purple#d5c7e8Foggy Love
Questions
- What color is #D8D1E7?
- #D8D1E7 is a very light, desaturated violet, closest to the named color Dust of the Moon. It belongs to the gray family of colors.
- What is the RGB value of #D8D1E7?
- The RGB value is 216, 209, 231: 216 red, 209 green and 231 blue on a 0 to 255 scale.
- What is the complementary color of #D8D1E7?
- The complementary color is #E0E7D1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D8D1E7?
- Black text. Black text has a contrast ratio of 14.19:1 and white text 1.48:1. WCAG asks for at least 4.5:1 for normal text.