#EC8CE5
Closest named color: Violet (#EE82EE). oklch(77% 0.16 329.7), rgb(236, 140, 229).
Aa
Black text reads best on this color (9.44:1).
About this color
#EC8CE5 is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.160 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.028 away. Black text reads best on it, at 9.44:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | vivid (0.160) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 9.44:1 |
| White text | 2.22:1 |
Values
| HEX | #EC8CE5 |
| RGB | rgb(236, 140, 229) |
| HSL | hsl(304, 72%, 74%) |
| OKLCH | oklch(77% 0.16 329.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 #EC8CE5 | 2.22:1 | Fails | Lc -48.3 | Large or bold text, headings |
| Black text on #EC8CE5 | 9.44:1 | AAA | Lc 60.5 | Content text, not long reading |
| #EC8CE5 text on white | 2.22:1 | Fails | Lc 43.5 | Non-text elements, placeholder text |
| #EC8CE5 text on black | 9.44:1 | AAA | Lc -58.7 | Large or bold text, headings |
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
#FEF1FD
oklch(97.2% 0.021 328.1)
-
Step 100
100
#FCDFF9
oklch(93.5% 0.047 329.2)
-
Step 200
200
#FBC4F6
oklch(88.4% 0.09 329.3)
-
Step 300
300 (this color)
#EC8CE5
oklch(77% 0.16 329.7)
-
Step 400
400
#F250EB
oklch(70.8% 0.256 329.7)
-
Step 500
500
#DF00DA
oklch(63.1% 0.288 329.6)
-
Step 600
600
#BC00B8
oklch(55.6% 0.254 329.5)
-
Step 700
700
#9F009B
oklch(49% 0.224 329.7)
-
Step 800
800
#830080
oklch(42.6% 0.195 329.6)
-
Step 900
900
#6E006C
oklch(37.6% 0.172 329.3)
-
Step 950
950
#440042
oklch(27% 0.123 329.8)
#EC8CE5 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) | #87A6E8 | 0.155 |
| Deuteranopia (no green cones) | #A1B3E2 | 0.141 |
| Tritanopia (no blue cones) | #F394AE | 0.089 |
| Achromatopsia (no color) | #AEAEAE | 0.161 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EC8CE5
#EC8CE5
oklch(77% 0.16 329.7)
- #5DD07B
#5DD07B
oklch(77% 0.16 149.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 #EC8CE5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.028
- Lavender Pink #DD85D7 ΔE 0.035
- Bubblegum Pink #FE83CC ΔE 0.046
- Purply Pink #F075E6 ΔE 0.049
- Plum #DDA0DD ΔE 0.055
- Baby Purple #CA9BF7 ΔE 0.063
- Lilac #CEA2FD ΔE 0.068
- Pastel Purple #CAA0FF ΔE 0.071
Use #EC8CE5 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.