#EC87E8
Closest named color: Violet (#EE82EE). oklch(76.4% 0.171 328.5), rgb(236, 135, 232).
Aa
Black text reads best on this color (9.19:1).
About this color
#EC87E8 is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.171 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.016 away. Black text reads best on it, at 9.19:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | vivid (0.171) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 9.19:1 |
| White text | 2.28:1 |
Values
| HEX | #EC87E8 |
| RGB | rgb(236, 135, 232) |
| HSL | hsl(302, 73%, 73%) |
| OKLCH | oklch(76.4% 0.171 328.5) |
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 #EC87E8 | 2.28:1 | Fails | Lc -49.5 | Large or bold text, headings |
| Black text on #EC87E8 | 9.19:1 | AAA | Lc 59.3 | Large or bold text, headings |
| #EC87E8 text on white | 2.28:1 | Fails | Lc 44.7 | Non-text elements, placeholder text |
| #EC87E8 text on black | 9.19:1 | AAA | Lc -57.4 | 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
#FFF0FD
oklch(97.1% 0.023 330)
-
Step 100
100
#FDDFFB
oklch(93.6% 0.049 328)
-
Step 200
200
#FDC3F9
oklch(88.5% 0.096 328.6)
-
Step 300
300 (this color)
#EC87E8
oklch(76.4% 0.171 328.5)
-
Step 400
400
#F546F3
oklch(70.8% 0.274 328.5)
-
Step 500
500
#DE00DD
oklch(63.1% 0.29 328.6)
-
Step 600
600
#BB00BB
oklch(55.6% 0.255 328.4)
-
Step 700
700
#9E009E
oklch(49.1% 0.226 328.4)
-
Step 800
800
#830082
oklch(42.7% 0.196 328.8)
-
Step 900
900
#6E006D
oklch(37.7% 0.173 328.8)
-
Step 950
950
#440043
oklch(27.1% 0.124 329.1)
#EC87E8 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) | #80A3EB | 0.166 |
| Deuteranopia (no green cones) | #9CB0E5 | 0.149 |
| Tritanopia (no blue cones) | #F290AD | 0.095 |
| Achromatopsia (no color) | #ABABAB | 0.173 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EC87E8
#EC87E8
oklch(76.4% 0.171 328.5)
- #55CF72
#55CF72
oklch(76.3% 0.171 148.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 #EC87E8, closest first.
No curated palette has a color within ΔE 0.04 of #EC87E8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.016
- Lavender Pink #DD85D7 ΔE 0.035
- Purply Pink #F075E6 ΔE 0.037
- Bubblegum Pink #FE83CC ΔE 0.050
- Orchid #DA70D6 ΔE 0.063
- Plum #DDA0DD ΔE 0.067
- Baby Purple #CA9BF7 ΔE 0.067
- Liliac #C48EFD ΔE 0.071
Use #EC87E8 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.