#ED9EFB
Closest named color: Lilac (#CEA2FD). oklch(80.8% 0.152 321.4), rgb(237, 158, 251).
Aa
Black text reads best on this color (10.88:1).
About this color
#ED9EFB is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.152 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.048 away. Black text reads best on it, at 10.88:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | vivid (0.152) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.88:1 |
| White text | 1.92:1 |
Values
| HEX | #ED9EFB |
| RGB | rgb(237, 158, 251) |
| HSL | hsl(291, 92%, 80%) |
| OKLCH | oklch(80.8% 0.152 321.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 #ED9EFB | 1.92:1 | Fails | Lc -41.1 | Non-text elements, placeholder text |
| Black text on #ED9EFB | 10.88:1 | AAA | Lc 67.1 | Content text, not long reading |
| #ED9EFB text on white | 1.92:1 | Fails | Lc 36.8 | Non-text elements, placeholder text |
| #ED9EFB text on black | 10.88:1 | AAA | Lc -65.7 | 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
#F4C7FB
oklch(88.5% 0.085 321.8)
-
Step 300
300 (this color)
#ED9EFB
oklch(80.8% 0.152 321.4)
-
Step 400
400
#E25EF9
oklch(70.8% 0.243 321.4)
-
Step 500
500
#D500F2
oklch(63.1% 0.301 321.5)
-
Step 600
600
#B400CD
oklch(55.7% 0.265 321.4)
-
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
#690079
oklch(37.7% 0.18 321.1)
-
Step 950
950
#40004A
oklch(26.9% 0.128 321.5)
#ED9EFB 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) | #93B5FE | 0.134 |
| Deuteranopia (no green cones) | #A7BEF8 | 0.122 |
| Tritanopia (no blue cones) | #EFA9C1 | 0.095 |
| Achromatopsia (no color) | #BBBBBB | 0.153 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ED9EFB
#ED9EFB
oklch(80.8% 0.152 321.4)
- #86D97A
#86D97A
oklch(81% 0.152 141.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 #ED9EFB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.048
- Plum #DDA0DD ΔE 0.052
- Pastel Purple #CAA0FF ΔE 0.055
- Baby Purple #CA9BF7 ΔE 0.057
- Pale Violet #CEAEFA ΔE 0.058
- Light Violet #D6B4FC ΔE 0.060
- Violet #EE82EE ΔE 0.060
- Lavender Pink #DD85D7 ΔE 0.075
Use #ED9EFB 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.