#DFD8EF
Closest named color: Gainsboro (#DCDCDC). oklch(89.5% 0.032 299.6), rgb(223, 216, 239).
Aa
Black text reads best on this color (15.20:1).
About this color
#DFD8EF is a light, muted purple. In OKLCH its lightness is 89%, its chroma 0.032 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.032 away. Black text reads best on it, at 15.20:1.
| Hue family | Purples |
| Lightness | light (89%) |
| Chroma | muted (0.032) |
| Temperature | in between |
| Nearest name | Gainsboro (#DCDCDC) |
| Black text | 15.20:1 |
| White text | 1.38:1 |
Values
| HEX | #DFD8EF |
| RGB | rgb(223, 216, 239) |
| HSL | hsl(258, 42%, 89%) |
| OKLCH | oklch(89.5% 0.032 299.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 #DFD8EF | 1.38:1 | Fails | Lc -21.2 | Dividers and decoration only |
| Black text on #DFD8EF | 15.20:1 | AAA | Lc 85.1 | Fine for body text |
| #DFD8EF text on white | 1.38:1 | Fails | Lc 18.6 | Dividers and decoration only |
| #DFD8EF text on black | 15.20:1 | AAA | Lc -85.0 | 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
#F6F5F9
oklch(97.2% 0.005 297.7)
-
Step 100
100
#EBE8F1
oklch(93.6% 0.012 301.3)
-
Step 200
200 (this color)
#DFD8EF
oklch(89.5% 0.032 299.6)
-
Step 300
300
#C4BBD8
oklch(80.9% 0.041 299.6)
-
Step 400
400
#A698C4
oklch(70.7% 0.065 299.3)
-
Step 500
500
#917EB5
oklch(63.1% 0.084 299.9)
-
Step 600
600
#7B67A1
oklch(55.6% 0.091 299.3)
-
Step 700
700
#68558A
oklch(49.1% 0.085 299.8)
-
Step 800
800
#554670
oklch(42.8% 0.07 299.9)
-
Step 900
900
#463B5B
oklch(37.8% 0.055 299.6)
-
Step 950
950
#292335
oklch(27.1% 0.034 299.4)
#DFD8EF 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) | #D4DBF0 | 0.016 |
| Deuteranopia (no green cones) | #D5DBEE | 0.015 |
| Tritanopia (no blue cones) | #DDDBDF | 0.026 |
| Achromatopsia (no color) | #DBDBDB | 0.032 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DFD8EF
#DFD8EF
oklch(89.5% 0.032 299.6)
- #D9E0C8
#D9E0C8
oklch(89.5% 0.033 120.3)
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 #DFD8EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gainsboro #DCDCDC ΔE 0.032
- Lavender #E6E6FA ΔE 0.037
- Cadet Gray #CED4DA ΔE 0.038
- Platinum #E0E1DD ΔE 0.040
- Pale Lavender #EECFFE ΔE 0.041
- Light Gray #D3D3D3 ΔE 0.042
- Pale Silver #D8E2DC ΔE 0.044
- Pale Lilac #E4CBFF ΔE 0.046
Use #DFD8EF 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.