#D4D5EF
Closest named color: Cadet Gray (#CED4DA). oklch(88% 0.036 283.9), rgb(212, 213, 239).
Aa
Black text reads best on this color (14.56:1).
About this color
#D4D5EF is a light, muted purple. In OKLCH its lightness is 88%, 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.031 away. Black text reads best on it, at 14.56:1.
| Hue family | Purples |
| Lightness | light (88%) |
| Chroma | muted (0.036) |
| Temperature | cool |
| Nearest name | Cadet Gray (#CED4DA) |
| Black text | 14.56:1 |
| White text | 1.44:1 |
Values
| HEX | #D4D5EF |
| RGB | rgb(212, 213, 239) |
| HSL | hsl(238, 46%, 88%) |
| OKLCH | oklch(88% 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 #D4D5EF | 1.44:1 | Fails | Lc -24.1 | Dividers and decoration only |
| Black text on #D4D5EF | 14.56:1 | AAA | Lc 82.6 | Fine for body text |
| #D4D5EF text on white | 1.44:1 | Fails | Lc 21.1 | Dividers and decoration only |
| #D4D5EF text on black | 14.56:1 | AAA | Lc -82.2 | 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)
#D4D5EF
oklch(88% 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
#8282C0
oklch(63.1% 0.093 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)
#D4D5EF 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) | #CFD8F0 | 0.009 |
| Deuteranopia (no green cones) | #CED6EE | 0.008 |
| Tritanopia (no blue cones) | #CFD9DD | 0.031 |
| Achromatopsia (no color) | #D7D7D7 | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4D5EF
#D4D5EF
oklch(88% 0.036 283.9)
- #DBD9BF
#DBD9BF
oklch(88% 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 #D4D5EF, 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.038
- Gainsboro #DCDCDC ΔE 0.038
- Pale Lilac #E4CBFF ΔE 0.045
- Pale Lavender #EECFFE ΔE 0.047
- Platinum #E0E1DD ΔE 0.049
- Pale Silver #D8E2DC ΔE 0.050
- Lavender #E6E6FA ΔE 0.051
Use #D4D5EF 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.