#D8D2EC
Closest named color: Cadet Gray (#CED4DA). oklch(87.7% 0.036 296.2), rgb(216, 210, 236).
Aa
Black text reads best on this color (14.34:1).
About this color
#D8D2EC is a light, muted purple. In OKLCH its lightness is 88%, its chroma 0.036 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Cadet Gray (#CED4DA), ΔE 0.031 away. Black text reads best on it, at 14.34:1.
| Hue family | Purples |
| Lightness | light (88%) |
| Chroma | muted (0.036) |
| Temperature | in between |
| Nearest name | Cadet Gray (#CED4DA) |
| Black text | 14.34:1 |
| White text | 1.46:1 |
Values
| HEX | #D8D2EC |
| RGB | rgb(216, 210, 236) |
| HSL | hsl(254, 41%, 87%) |
| OKLCH | oklch(87.7% 0.036 296.2) |
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 #D8D2EC | 1.46:1 | Fails | Lc -25.0 | Dividers and decoration only |
| Black text on #D8D2EC | 14.34:1 | AAA | Lc 81.7 | Fine for body text |
| #D8D2EC text on white | 1.46:1 | Fails | Lc 22.0 | Dividers and decoration only |
| #D8D2EC text on black | 14.34:1 | AAA | Lc -81.3 | 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
#F6F5F9
oklch(97.2% 0.005 297.7)
-
Step 100
100
#EAE8F2
oklch(93.5% 0.014 295.3)
-
Step 200
200 (this color)
#D8D2EC
oklch(87.7% 0.036 296.2)
-
Step 300
300
#C3BBDC
oklch(80.9% 0.047 296.4)
-
Step 400
400
#A497CA
oklch(70.6% 0.075 296.1)
-
Step 500
500
#8F7DBC
oklch(63.1% 0.095 296.7)
-
Step 600
600
#7966A8
oklch(55.6% 0.102 296.2)
-
Step 700
700
#665491
oklch(49.1% 0.097 296.2)
-
Step 800
800
#534575
oklch(42.6% 0.079 296.3)
-
Step 900
900
#453A5F
oklch(37.7% 0.063 296.9)
-
Step 950
950
#282237
oklch(26.9% 0.039 296.8)
#D8D2EC 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) | #CDD5ED | 0.016 |
| Deuteranopia (no green cones) | #CED5EB | 0.015 |
| Tritanopia (no blue cones) | #D5D6DA | 0.031 |
| Achromatopsia (no color) | #D5D5D5 | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8D2EC
#D8D2EC
oklch(87.7% 0.036 296.2)
- #D5DABF
#D5DABF
oklch(87.7% 0.037 115.7)
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 #D8D2EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cadet Gray #CED4DA ΔE 0.031
- Light Gray #D3D3D3 ΔE 0.037
- Gainsboro #DCDCDC ΔE 0.040
- Pale Lilac #E4CBFF ΔE 0.040
- Pale Lavender #EECFFE ΔE 0.043
- Thistle #D8BFD8 ΔE 0.048
- Light Lavender #DFC5FE ΔE 0.049
- Very Light Purple #F6CEFC ΔE 0.051
Use #D8D2EC 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.