#D7D8FB
Closest named color: Pale Lilac (#E4CBFF). oklch(89.2% 0.048 284.1), rgb(215, 216, 251).
Aa
Black text reads best on this color (15.10:1).
About this color
#D7D8FB is a light, muted purple. In OKLCH its lightness is 89%, its chroma 0.048 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Lilac (#E4CBFF), ΔE 0.038 away. Black text reads best on it, at 15.10:1.
| Hue family | Purples |
| Lightness | light (89%) |
| Chroma | muted (0.048) |
| Temperature | cool |
| Nearest name | Pale Lilac (#E4CBFF) |
| Black text | 15.10:1 |
| White text | 1.39:1 |
Values
| HEX | #D7D8FB |
| RGB | rgb(215, 216, 251) |
| HSL | hsl(238, 82%, 91%) |
| OKLCH | oklch(89.2% 0.048 284.1) |
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 #D7D8FB | 1.39:1 | Fails | Lc -21.7 | Dividers and decoration only |
| Black text on #D7D8FB | 15.10:1 | AAA | Lc 84.7 | Fine for body text |
| #D7D8FB text on white | 1.39:1 | Fails | Lc 19.0 | Dividers and decoration only |
| #D7D8FB text on black | 15.10:1 | AAA | Lc -84.5 | 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
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E8E9F6
oklch(93.7% 0.018 282.5)
-
Step 200
200 (this color)
#D7D8FB
oklch(89.2% 0.048 284.1)
-
Step 300
300
#BBBCE8
oklch(80.9% 0.062 283.9)
-
Step 400
400
#9998DC
oklch(70.7% 0.099 284.3)
-
Step 500
500
#817DD2
oklch(63% 0.126 284.3)
-
Step 600
600
#6B65C0
oklch(55.6% 0.138 284)
-
Step 700
700
#5A54A5
oklch(49.2% 0.126 284.1)
-
Step 800
800
#494586
oklch(42.7% 0.105 283.8)
-
Step 900
900
#3D3A6B
oklch(37.6% 0.082 284.5)
-
Step 950
950
#24223F
oklch(27% 0.053 285.4)
#D7D8FB 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) | #D0DCFD | 0.012 |
| Deuteranopia (no green cones) | #CFDAFA | 0.012 |
| Tritanopia (no blue cones) | #D0DEE3 | 0.043 |
| Achromatopsia (no color) | #DBDBDB | 0.048 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7D8FB
#D7D8FB
oklch(89.2% 0.048 284.1)
- #E0DEBA
#E0DEBA
oklch(89.3% 0.048 104.7)
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 #D7D8FB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Lilac #E4CBFF ΔE 0.038
- Pale Lavender #EECFFE ΔE 0.038
- Lavender #E6E6FA ΔE 0.044
- Cadet Gray #CED4DA ΔE 0.047
- Gainsboro #DCDCDC ΔE 0.048
- Very Light Purple #F6CEFC ΔE 0.048
- Light Lilac #EDC8FF ΔE 0.050
- Light Lavender #DFC5FE ΔE 0.050
Use #D7D8FB 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.