#D8D7EF
Closest named color: Cadet Gray (#CED4DA). oklch(88.7% 0.033 287.6), rgb(216, 215, 239).
Aa
Black text reads best on this color (14.88:1).
About this color
#D8D7EF is a light, muted purple. In OKLCH its lightness is 89%, its chroma 0.033 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Cadet Gray (#CED4DA), ΔE 0.033 away. Black text reads best on it, at 14.88:1.
| Hue family | Purples |
| Lightness | light (89%) |
| Chroma | muted (0.033) |
| Temperature | cool |
| Nearest name | Cadet Gray (#CED4DA) |
| Black text | 14.88:1 |
| White text | 1.41:1 |
Values
| HEX | #D8D7EF |
| RGB | rgb(216, 215, 239) |
| HSL | hsl(242, 43%, 89%) |
| OKLCH | oklch(88.7% 0.033 287.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D8D7EF | 1.41:1 | Fails | Lc -22.6 | Dividers and decoration only |
| Black text on #D8D7EF | 14.88:1 | AAA | Lc 83.9 | Fine for body text |
| #D8D7EF text on white | 1.41:1 | Fails | Lc 19.8 | Dividers and decoration only |
| #D8D7EF text on black | 14.88:1 | AAA | Lc -83.6 | Fine for body text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 200.
-
Step 50
50
#F5F5F9
oklch(97.1% 0.005 286.3)
-
Step 100
100
#E9E9F2
oklch(93.7% 0.012 286.2)
-
Step 200
200 (this color)
#D8D7EF
oklch(88.7% 0.033 287.6)
-
Step 300
300
#BEBDDB
oklch(80.9% 0.042 286.9)
-
Step 400
400
#9E9BC9
oklch(70.8% 0.067 287.6)
-
Step 500
500
#8681BB
oklch(63% 0.086 287.6)
-
Step 600
600
#706AA7
oklch(55.5% 0.094 287.4)
-
Step 700
700
#5E588F
oklch(49% 0.087 287.7)
-
Step 800
800
#4D4874
oklch(42.6% 0.072 288.1)
-
Step 900
900
#403D5E
oklch(37.8% 0.056 287.6)
-
Step 950
950
#252437
oklch(27% 0.035 286.2)
#D8D7EF with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #D2DAF0 | 0.010 |
| Deuteranopia (no green cones) | #D1D8EE | 0.010 |
| Tritanopia (no blue cones) | #D4DBDF | 0.028 |
| Achromatopsia (no color) | #D9D9D9 | 0.033 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8D7EF
#D8D7EF
oklch(88.7% 0.033 287.6)
- #DCDCC3
#DCDCC3
oklch(88.8% 0.033 107.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D8D7EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cadet Gray #CED4DA ΔE 0.033
- Gainsboro #DCDCDC ΔE 0.034
- Light Gray #D3D3D3 ΔE 0.039
- Platinum #E0E1DD ΔE 0.043
- Lavender #E6E6FA ΔE 0.044
- Pale Lavender #EECFFE ΔE 0.045
- Pale Silver #D8E2DC ΔE 0.045
- Pale Lilac #E4CBFF ΔE 0.046
Use #D8D7EF in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.