#D9D8EA
Closest named color: Gainsboro (#DCDCDC). oklch(88.8% 0.025 288.4), rgb(217, 216, 234).
Aa
Black text reads best on this color (14.96:1).
About this color
#D9D8EA is a light close to neutral grey. In OKLCH its lightness is 89%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.025 away. Black text reads best on it, at 14.96:1.
| Hue family | Neutrals |
| Lightness | light (89%) |
| Chroma | close to neutral grey (0.025) |
| Temperature | neutral |
| Nearest name | Gainsboro (#DCDCDC) |
| Black text | 14.96:1 |
| White text | 1.40:1 |
Values
| HEX | #D9D8EA |
| RGB | rgb(217, 216, 234) |
| HSL | hsl(243, 30%, 88%) |
| OKLCH | oklch(88.8% 0.025 288.4) |
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 #D9D8EA | 1.40:1 | Fails | Lc -22.3 | Dividers and decoration only |
| Black text on #D9D8EA | 14.96:1 | AAA | Lc 84.1 | Fine for body text |
| #D9D8EA text on white | 1.40:1 | Fails | Lc 19.5 | Dividers and decoration only |
| #D9D8EA text on black | 14.96:1 | AAA | Lc -83.9 | 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
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100
#E9E9F0
oklch(93.6% 0.009 286.2)
-
Step 200
200 (this color)
#D9D8EA
oklch(88.8% 0.025 288.4)
-
Step 300
300
#BFBED4
oklch(80.9% 0.031 287.8)
-
Step 400
400
#9F9CBF
oklch(70.7% 0.051 289)
-
Step 500
500
#8784AF
oklch(63.2% 0.064 287.6)
-
Step 600
600
#716D9A
oklch(55.6% 0.069 288)
-
Step 700
700
#5F5B84
oklch(49.2% 0.065 288.2)
-
Step 800
800
#4E4A6B
oklch(42.7% 0.054 289.4)
-
Step 900
900
#403E57
oklch(37.7% 0.042 287.8)
-
Step 950
950
#262433
oklch(26.9% 0.028 290.5)
#D9D8EA 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) | #D4DAEB | 0.008 |
| Deuteranopia (no green cones) | #D4D9E9 | 0.007 |
| Tritanopia (no blue cones) | #D6DBDE | 0.021 |
| Achromatopsia (no color) | #DADADA | 0.025 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D9D8EA
#D9D8EA
oklch(88.8% 0.025 288.4)
- #DBDCCA
#DBDCCA
oklch(88.9% 0.024 109.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 #D9D8EA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gainsboro #DCDCDC ΔE 0.025
- Cadet Gray #CED4DA ΔE 0.028
- Light Gray #D3D3D3 ΔE 0.033
- Platinum #E0E1DD ΔE 0.036
- Pale Silver #D8E2DC ΔE 0.038
- Lavender #E6E6FA ΔE 0.043
- Pale Lavender #EECFFE ΔE 0.051
- Pale Lilac #E4CBFF ΔE 0.053
Use #D9D8EA 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.