#D1D2EE
Closest named color: Cadet Gray (#CED4DA). oklch(87.2% 0.038 283.9), rgb(209, 210, 238).
Aa
Black text reads best on this color (14.16:1).
About this color
#D1D2EE is a light, muted purple. In OKLCH its lightness is 87%, its chroma 0.038 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Cadet Gray (#CED4DA), ΔE 0.031 away. Black text reads best on it, at 14.16:1.
| Hue family | Purples |
| Lightness | light (87%) |
| Chroma | muted (0.038) |
| Temperature | cool |
| Nearest name | Cadet Gray (#CED4DA) |
| Black text | 14.16:1 |
| White text | 1.48:1 |
Values
| HEX | #D1D2EE |
| RGB | rgb(209, 210, 238) |
| HSL | hsl(238, 46%, 88%) |
| OKLCH | oklch(87.2% 0.038 283.9) |
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 #D1D2EE | 1.48:1 | Fails | Lc -25.8 | Dividers and decoration only |
| Black text on #D1D2EE | 14.16:1 | AAA | Lc 81.0 | Fine for body text |
| #D1D2EE text on white | 1.48:1 | Fails | Lc 22.8 | Dividers and decoration only |
| #D1D2EE text on black | 14.16:1 | AAA | Lc -80.5 | 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
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#E8E9F3
oklch(93.6% 0.013 281.6)
-
Step 200
200 (this color)
#D1D2EE
oklch(87.2% 0.038 283.9)
-
Step 300
300
#BCBDE0
oklch(80.9% 0.049 284)
-
Step 400
400
#9A9AD1
oklch(70.6% 0.08 284.2)
-
Step 500
500
#8281C5
oklch(63.2% 0.101 283.8)
-
Step 600
600
#6C69B1
oklch(55.6% 0.11 284.1)
-
Step 700
700
#5A5798
oklch(49% 0.102 284)
-
Step 800
800
#4A487C
oklch(42.8% 0.085 284)
-
Step 900
900
#3D3C63
oklch(37.6% 0.066 283.9)
-
Step 950
950
#24243A
oklch(27.1% 0.041 283.4)
#D1D2EE 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) | #CBD5EF | 0.010 |
| Deuteranopia (no green cones) | #CBD3ED | 0.008 |
| Tritanopia (no blue cones) | #CBD7DB | 0.035 |
| Achromatopsia (no color) | #D4D4D4 | 0.039 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D1D2EE
#D1D2EE
oklch(87.2% 0.038 283.9)
- #D9D7BA
#D9D7BA
oklch(87.3% 0.039 103.9)
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 #D1D2EE, 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.039
- Pale Lilac #E4CBFF ΔE 0.043
- Gainsboro #DCDCDC ΔE 0.045
- Light Blue Grey #B7C9E2 ΔE 0.045
- Light Periwinkle #C1C6FC ΔE 0.048
- Pale Lavender #EECFFE ΔE 0.049
- Thistle #D8BFD8 ΔE 0.049
Use #D1D2EE 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.