#EC9DF8
Closest named color: Lilac (#CEA2FD). oklch(80.5% 0.15 322.1), rgb(236, 157, 248).
Aa
Black text reads best on this color (10.74:1).
About this color
#EC9DF8 is a light, vivid purple. In OKLCH its lightness is 80%, its chroma 0.150 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.047 away. Black text reads best on it, at 10.74:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | vivid (0.150) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.74:1 |
| White text | 1.95:1 |
Values
| HEX | #EC9DF8 |
| RGB | rgb(236, 157, 248) |
| HSL | hsl(292, 87%, 79%) |
| OKLCH | oklch(80.5% 0.15 322.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 #EC9DF8 | 1.95:1 | Fails | Lc -41.8 | Non-text elements, placeholder text |
| Black text on #EC9DF8 | 10.74:1 | AAA | Lc 66.5 | Content text, not long reading |
| #EC9DF8 text on white | 1.95:1 | Fails | Lc 37.4 | Non-text elements, placeholder text |
| #EC9DF8 text on black | 10.74:1 | AAA | Lc -65.0 | 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
#F8E1FB
oklch(93.6% 0.042 322.3)
-
Step 200
200
#F4C7FA
oklch(88.4% 0.084 322.4)
-
Step 300
300 (this color)
#EC9DF8
oklch(80.5% 0.15 322.1)
-
Step 400
400
#E25FF6
oklch(70.7% 0.239 322.2)
-
Step 500
500
#D600F0
oklch(63.1% 0.3 322.2)
-
Step 600
600
#B400CB
oklch(55.5% 0.264 321.9)
-
Step 700
700
#9800AC
oklch(49.1% 0.233 321.9)
-
Step 800
800
#7E008E
oklch(42.7% 0.203 322.2)
-
Step 900
900
#6A0077
oklch(37.7% 0.179 322.5)
-
Step 950
950
#400149
oklch(26.9% 0.126 322)
#EC9DF8 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) | #93B4FB | 0.133 |
| Deuteranopia (no green cones) | #A7BDF5 | 0.122 |
| Tritanopia (no blue cones) | #EFA7BF | 0.093 |
| Achromatopsia (no color) | #B9B9B9 | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EC9DF8
#EC9DF8
oklch(80.5% 0.15 322.1)
- #84D77B
#84D77B
oklch(80.4% 0.149 141.9)
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 #EC9DF8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.047
- Plum #DDA0DD ΔE 0.048
- Pastel Purple #CAA0FF ΔE 0.054
- Baby Purple #CA9BF7 ΔE 0.055
- Pale Violet #CEAEFA ΔE 0.058
- Violet #EE82EE ΔE 0.058
- Light Violet #D6B4FC ΔE 0.060
- Lavender Pink #DD85D7 ΔE 0.070
Use #EC9DF8 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.