#EB9DF8
Closest named color: Lilac (#CEA2FD). oklch(80.3% 0.149 321.7), rgb(235, 157, 248).
Aa
Black text reads best on this color (10.71:1).
About this color
#EB9DF8 is a light, vivid purple. In OKLCH its lightness is 80%, its chroma 0.149 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.046 away. Black text reads best on it, at 10.71:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | vivid (0.149) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.71:1 |
| White text | 1.96:1 |
Values
| HEX | #EB9DF8 |
| RGB | rgb(235, 157, 248) |
| HSL | hsl(291, 87%, 79%) |
| OKLCH | oklch(80.3% 0.149 321.7) |
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 #EB9DF8 | 1.96:1 | Fails | Lc -41.9 | Non-text elements, placeholder text |
| Black text on #EB9DF8 | 10.71:1 | AAA | Lc 66.3 | Content text, not long reading |
| #EB9DF8 text on white | 1.96:1 | Fails | Lc 37.6 | Non-text elements, placeholder text |
| #EB9DF8 text on black | 10.71:1 | AAA | Lc -64.9 | Content text, not long reading |
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 300.
-
Step 50
50
#FCF1FE
oklch(97% 0.021 321)
-
Step 100
100
#F8E1FC
oklch(93.6% 0.043 321.2)
-
Step 200
200
#F3C8FA
oklch(88.5% 0.082 321.6)
-
Step 300
300 (this color)
#EB9DF8
oklch(80.3% 0.149 321.7)
-
Step 400
400
#E15FF7
oklch(70.6% 0.239 321.6)
-
Step 500
500
#D500F1
oklch(63% 0.3 321.7)
-
Step 600
600
#B400CC
oklch(55.6% 0.265 321.7)
-
Step 700
700
#9800AD
oklch(49.1% 0.234 321.5)
-
Step 800
800
#7D008F
oklch(42.7% 0.203 321.4)
-
Step 900
900
#690078
oklch(37.6% 0.179 321.6)
-
Step 950
950
#40014A
oklch(27% 0.127 321.4)
#EB9DF8 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) | #92B3FB | 0.132 |
| Deuteranopia (no green cones) | #A6BCF5 | 0.120 |
| Tritanopia (no blue cones) | #EDA7BF | 0.093 |
| Achromatopsia (no color) | #B9B9B9 | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EB9DF8
#EB9DF8
oklch(80.3% 0.149 321.7)
- #85D77B
#85D77B
oklch(80.5% 0.149 141.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 #EB9DF8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.046
- Plum #DDA0DD ΔE 0.047
- Pastel Purple #CAA0FF ΔE 0.052
- Baby Purple #CA9BF7 ΔE 0.053
- Pale Violet #CEAEFA ΔE 0.057
- Violet #EE82EE ΔE 0.058
- Light Violet #D6B4FC ΔE 0.060
- Lavender Pink #DD85D7 ΔE 0.070
Use #EB9DF8 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.