#D1D2EC
Closest named color: Cadet Gray (#CED4DA). oklch(87.1% 0.036 283.9), rgb(209, 210, 236).
Aa
Black text reads best on this color (14.14:1).
About this color
#D1D2EC is a light, muted purple. In OKLCH its lightness is 87%, its chroma 0.036 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Cadet Gray (#CED4DA), ΔE 0.028 away. Black text reads best on it, at 14.14:1.
| Hue family | Purples |
| Lightness | light (87%) |
| Chroma | muted (0.036) |
| Temperature | cool |
| Nearest name | Cadet Gray (#CED4DA) |
| Black text | 14.14:1 |
| White text | 1.48:1 |
Values
| HEX | #D1D2EC |
| RGB | rgb(209, 210, 236) |
| HSL | hsl(238, 42%, 87%) |
| OKLCH | oklch(87.1% 0.036 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 #D1D2EC | 1.48:1 | Fails | Lc -25.9 | Dividers and decoration only |
| Black text on #D1D2EC | 14.14:1 | AAA | Lc 80.9 | Fine for body text |
| #D1D2EC text on white | 1.48:1 | Fails | Lc 22.9 | Dividers and decoration only |
| #D1D2EC text on black | 14.14:1 | AAA | Lc -80.4 | 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)
#D1D2EC
oklch(87.1% 0.036 283.9)
-
Step 300
300
#BCBDDE
oklch(80.8% 0.046 283.9)
-
Step 400
400
#9A9BCD
oklch(70.7% 0.073 283.5)
-
Step 500
500
#8282C1
oklch(63.2% 0.094 283.4)
-
Step 600
600
#6C6AAD
oklch(55.5% 0.103 283.9)
-
Step 700
700
#5A5894
oklch(49% 0.095 283.8)
-
Step 800
800
#4A4878
oklch(42.6% 0.079 284.4)
-
Step 900
900
#3E3D61
oklch(37.8% 0.061 284.4)
-
Step 950
950
#242439
oklch(27.1% 0.039 283.5)
#D1D2EC 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) | #CCD5ED | 0.009 |
| Deuteranopia (no green cones) | #CBD3EB | 0.008 |
| Tritanopia (no blue cones) | #CCD6DA | 0.032 |
| Achromatopsia (no color) | #D4D4D4 | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D1D2EC
#D1D2EC
oklch(87.1% 0.036 283.9)
- #D8D6BC
#D8D6BC
oklch(87.1% 0.035 103.5)
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 #D1D2EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cadet Gray #CED4DA ΔE 0.028
- Light Gray #D3D3D3 ΔE 0.036
- Gainsboro #DCDCDC ΔE 0.043
- Light Blue Grey #B7C9E2 ΔE 0.045
- Pale Lilac #E4CBFF ΔE 0.045
- Thistle #D8BFD8 ΔE 0.048
- Light Blue #ADD8E6 ΔE 0.049
- Light Periwinkle #C1C6FC ΔE 0.050
Use #D1D2EC 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.