#EC9DFF
Closest named color: Lilac (#CEA2FD). oklch(80.8% 0.157 319.7), rgb(236, 157, 255).
Aa
Black text reads best on this color (10.83:1).
About this color
#EC9DFF is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.157 and its hue 320°. 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.83:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | vivid (0.157) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.83:1 |
| White text | 1.93:1 |
Values
| HEX | #EC9DFF |
| RGB | rgb(236, 157, 255) |
| HSL | hsl(288, 100%, 81%) |
| OKLCH | oklch(80.8% 0.157 319.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 #EC9DFF | 1.93:1 | Fails | Lc -41.3 | Non-text elements, placeholder text |
| Black text on #EC9DFF | 10.83:1 | AAA | Lc 66.9 | Content text, not long reading |
| #EC9DFF text on white | 1.93:1 | Fails | Lc 37.0 | Non-text elements, placeholder text |
| #EC9DFF text on black | 10.83:1 | AAA | Lc -65.5 | 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
#FCF1FF
oklch(97.1% 0.022 319)
-
Step 100
100
#F8E1FD
oklch(93.7% 0.045 320.2)
-
Step 200
200
#F3C7FE
oklch(88.5% 0.088 319.5)
-
Step 300
300 (this color)
#EC9DFF
oklch(80.8% 0.157 319.7)
-
Step 400
400
#E15CFF
oklch(70.8% 0.25 319.8)
-
Step 500
500
#D200F7
oklch(63% 0.303 319.6)
-
Step 600
600
#B200D1
oklch(55.7% 0.267 319.8)
-
Step 700
700
#9600B1
oklch(49.1% 0.236 319.7)
-
Step 800
800
#7C0092
oklch(42.7% 0.205 319.9)
-
Step 900
900
#68007B
oklch(37.7% 0.181 319.8)
-
Step 950
950
#40004C
oklch(27% 0.13 320.2)
#EC9DFF 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) | #90B5FF | 0.137 |
| Deuteranopia (no green cones) | #A4BDFC | 0.124 |
| Tritanopia (no blue cones) | #EDA9C2 | 0.101 |
| Achromatopsia (no color) | #BABABA | 0.158 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EC9DFF
#EC9DFF
oklch(80.8% 0.157 319.7)
- #87D873
#87D873
oklch(80.7% 0.157 139.6)
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 #EC9DFF, closest first.
No curated palette has a color within ΔE 0.04 of #EC9DFF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.048
- Pastel Purple #CAA0FF ΔE 0.053
- Baby Purple #CA9BF7 ΔE 0.056
- Plum #DDA0DD ΔE 0.057
- Violet #EE82EE ΔE 0.059
- Pale Violet #CEAEFA ΔE 0.060
- Light Violet #D6B4FC ΔE 0.063
- Lavender Pink #DD85D7 ΔE 0.076
Use #EC9DFF 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.