#D9C7EA
Closest named color: Thistle (#D8BFD8). oklch(85.5% 0.052 308.4), rgb(217, 199, 234).
Aa
Black text reads best on this color (13.30:1).
About this color
#D9C7EA is a light, muted purple. In OKLCH its lightness is 86%, its chroma 0.052 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Thistle (#D8BFD8), ΔE 0.028 away. Black text reads best on it, at 13.30:1.
| Hue family | Purples |
| Lightness | light (86%) |
| Chroma | muted (0.052) |
| Temperature | in between |
| Nearest name | Thistle (#D8BFD8) |
| Black text | 13.30:1 |
| White text | 1.57:1 |
Values
| HEX | #D9C7EA |
| RGB | rgb(217, 199, 234) |
| HSL | hsl(271, 45%, 85%) |
| OKLCH | oklch(85.5% 0.052 308.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 #D9C7EA | 1.57:1 | Fails | Lc -29.7 | Dividers and decoration only |
| Black text on #D9C7EA | 13.30:1 | AAA | Lc 77.5 | Fine for body text |
| #D9C7EA text on white | 1.57:1 | Fails | Lc 26.3 | Dividers and decoration only |
| #D9C7EA text on black | 13.30:1 | AAA | Lc -76.7 | 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
#F7F4FA
oklch(97.1% 0.009 308.4)
-
Step 100
100
#EDE7F4
oklch(93.6% 0.018 306.7)
-
Step 200
200 (this color)
#D9C7EA
oklch(85.5% 0.052 308.4)
-
Step 300
300
#CDB6E2
oklch(81% 0.066 308.5)
-
Step 400
400
#B38ED3
oklch(70.6% 0.106 308.4)
-
Step 500
500
#A171C8
oklch(63.2% 0.136 308.4)
-
Step 600
600
#8C57B4
oklch(55.6% 0.148 308.7)
-
Step 700
700
#77479B
oklch(49.2% 0.137 308.6)
-
Step 800
800
#613B7E
oklch(42.8% 0.113 308.5)
-
Step 900
900
#4F3365
oklch(37.7% 0.088 308.6)
-
Step 950
950
#2E1E3B
oklch(26.9% 0.056 308.5)
#D9C7EA 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) | #C2CDEC | 0.033 |
| Deuteranopia (no green cones) | #C5CEE9 | 0.032 |
| Tritanopia (no blue cones) | #D7CBD3 | 0.038 |
| Achromatopsia (no color) | #CECECE | 0.052 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D9C7EA
#D9C7EA
oklch(85.5% 0.052 308.4)
- #C5D7B3
#C5D7B3
oklch(85.6% 0.052 129.2)
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 #D9C7EA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Thistle #D8BFD8 ΔE 0.028
- Light Lavender #DFC5FE ΔE 0.032
- Pale Lilac #E4CBFF ΔE 0.034
- Light Periwinkle #C1C6FC ΔE 0.041
- Light Lilac #EDC8FF ΔE 0.042
- Pale Lavender #EECFFE ΔE 0.045
- Light Blue Grey #B7C9E2 ΔE 0.048
- Cadet Gray #CED4DA ΔE 0.049
Use #D9C7EA 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.