#D4D4EF
Closest named color: Cadet Gray (#CED4DA). oklch(87.8% 0.037 285.6), rgb(212, 212, 239).
Aa
Black text reads best on this color (14.46:1).
About this color
#D4D4EF is a light, muted purple. In OKLCH its lightness is 88%, its chroma 0.037 and its hue 286°. 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.46:1.
| Hue family | Purples |
| Lightness | light (88%) |
| Chroma | muted (0.037) |
| Temperature | cool |
| Nearest name | Cadet Gray (#CED4DA) |
| Black text | 14.46:1 |
| White text | 1.45:1 |
Values
| HEX | #D4D4EF |
| RGB | rgb(212, 212, 239) |
| HSL | hsl(240, 46%, 88%) |
| OKLCH | oklch(87.8% 0.037 285.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 #D4D4EF | 1.45:1 | Fails | Lc -24.5 | Dividers and decoration only |
| Black text on #D4D4EF | 14.46:1 | AAA | Lc 82.2 | Fine for body text |
| #D4D4EF text on white | 1.45:1 | Fails | Lc 21.5 | Dividers and decoration only |
| #D4D4EF text on black | 14.46:1 | AAA | Lc -81.8 | 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
#E9E9F3
oklch(93.7% 0.013 286.1)
-
Step 200
200 (this color)
#D4D4EF
oklch(87.8% 0.037 285.6)
-
Step 300
300
#BDBDDF
oklch(80.9% 0.048 285.3)
-
Step 400
400
#9C9ACF
oklch(70.7% 0.077 286)
-
Step 500
500
#8481C2
oklch(63.2% 0.097 285.4)
-
Step 600
600
#6E69AE
oklch(55.6% 0.106 285.7)
-
Step 700
700
#5C5796
oklch(49% 0.099 285.7)
-
Step 800
800
#4B4879
oklch(42.7% 0.08 285.3)
-
Step 900
900
#3E3C62
oklch(37.6% 0.064 285.3)
-
Step 950
950
#252339
oklch(26.9% 0.041 287.5)
#D4D4EF 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) | #CED7F0 | 0.010 |
| Deuteranopia (no green cones) | #CDD5EE | 0.010 |
| Tritanopia (no blue cones) | #CFD8DD | 0.031 |
| Achromatopsia (no color) | #D6D6D6 | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4D4EF
#D4D4EF
oklch(87.8% 0.037 285.6)
- #DAD9BD
#DAD9BD
oklch(87.9% 0.037 105.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 #D4D4EF, 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
- Gainsboro #DCDCDC ΔE 0.040
- Pale Lilac #E4CBFF ΔE 0.043
- Pale Lavender #EECFFE ΔE 0.046
- Light Lavender #DFC5FE ΔE 0.051
- Platinum #E0E1DD ΔE 0.052
- Light Blue Grey #B7C9E2 ΔE 0.052
Use #D4D4EF 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.