#EC8FEF
Closest named color: Violet (#EE82EE). oklch(77.9% 0.164 325.9), rgb(236, 143, 239).
Aa
Black text reads best on this color (9.74:1).
About this color
#EC8FEF is a medium-light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.164 and its hue 326°. 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.74:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | vivid (0.164) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 9.74:1 |
| White text | 2.15:1 |
Values
| HEX | #EC8FEF |
| RGB | rgb(236, 143, 239) |
| HSL | hsl(298, 75%, 75%) |
| OKLCH | oklch(77.9% 0.164 325.9) |
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 #EC8FEF | 2.15:1 | Fails | Lc -46.8 | Large or bold text, headings |
| Black text on #EC8FEF | 9.74:1 | AAA | Lc 61.9 | Content text, not long reading |
| #EC8FEF text on white | 2.15:1 | Fails | Lc 42.1 | Non-text elements, placeholder text |
| #EC8FEF text on black | 9.74:1 | AAA | Lc -60.1 | 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
#FEF1FE
oklch(97.2% 0.022 325.7)
-
Step 100
100
#FBDFFB
oklch(93.5% 0.048 326)
-
Step 200
200
#F9C5FA
oklch(88.6% 0.091 325.7)
-
Step 300
300 (this color)
#EC8FEF
oklch(77.9% 0.164 325.9)
-
Step 400
400
#EE4FF6
oklch(70.7% 0.264 325.9)
-
Step 500
500
#DB00E5
oklch(63.2% 0.294 326)
-
Step 600
600
#B900C1
oklch(55.6% 0.259 326.1)
-
Step 700
700
#9C00A3
oklch(49.1% 0.228 326)
-
Step 800
800
#810087
oklch(42.7% 0.199 326)
-
Step 900
900
#6C0072
oklch(37.7% 0.176 325.6)
-
Step 950
950
#420046
oklch(26.9% 0.125 325.6)
#EC8FEF 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) | #86A9F2 | 0.155 |
| Deuteranopia (no green cones) | #9FB5EC | 0.140 |
| Tritanopia (no blue cones) | #F199B4 | 0.096 |
| Achromatopsia (no color) | #B1B1B1 | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EC8FEF
#EC8FEF
oklch(77.9% 0.164 325.9)
- #69D274
#69D274
oklch(77.9% 0.163 145.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 #EC8FEF, closest first.
No curated palette has a color within ΔE 0.04 of #EC8FEF.
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.046
- Purply Pink #F075E6 ΔE 0.053
- Plum #DDA0DD ΔE 0.057
- Bubblegum Pink #FE83CC ΔE 0.057
- Baby Purple #CA9BF7 ΔE 0.058
- Lilac #CEA2FD ΔE 0.061
- Pastel Purple #CAA0FF ΔE 0.064
Use #EC8FEF 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.