#EC7FE1
Closest named color: Violet (#EE82EE). oklch(75% 0.178 331), rgb(236, 127, 225).
Aa
Black text reads best on this color (8.68:1).
About this color
#EC7FE1 is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.178 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.019 away. Black text reads best on it, at 8.68:1.
| Hue family | Purples |
| Lightness | medium-light (75%) |
| Chroma | vivid (0.178) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 8.68:1 |
| White text | 2.41:1 |
Values
| HEX | #EC7FE1 |
| RGB | rgb(236, 127, 225) |
| HSL | hsl(306, 74%, 71%) |
| OKLCH | oklch(75% 0.178 331) |
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 #EC7FE1 | 2.41:1 | Fails | Lc -52.2 | Large or bold text, headings |
| Black text on #EC7FE1 | 8.68:1 | AAA | Lc 56.8 | Large or bold text, headings |
| #EC7FE1 text on white | 2.41:1 | Fails | Lc 47.2 | Large or bold text, headings |
| #EC7FE1 text on black | 8.68:1 | AAA | Lc -54.8 | 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 400.
-
Step 50
50
#FCF2FA
oklch(97.1% 0.015 332.2)
-
Step 100
100
#F7E2F4
oklch(93.5% 0.033 330.4)
-
Step 200
200
#F2CBEC
oklch(88.5% 0.061 331.3)
-
Step 300
300
#EAA6E2
oklch(80.9% 0.111 330.7)
-
Step 400
400 (this color)
#EC7FE1
oklch(75% 0.178 331)
-
Step 500
500
#D143C7
oklch(63.1% 0.228 330.9)
-
Step 600
600
#BD0BB3
oklch(55.7% 0.248 331.3)
-
Step 700
700
#A00098
oklch(49% 0.222 331.1)
-
Step 800
800
#84047D
oklch(42.7% 0.191 331.2)
-
Step 900
900
#6A1565
oklch(37.7% 0.149 330.7)
-
Step 950
950
#3F0F3B
oklch(27% 0.095 331.4)
#EC7FE1 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) | #7B9DE4 | 0.176 |
| Deuteranopia (no green cones) | #99ACDE | 0.158 |
| Tritanopia (no blue cones) | #F487A6 | 0.095 |
| Achromatopsia (no color) | #A7A7A7 | 0.180 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EC7FE1
#EC7FE1
oklch(75% 0.178 331)
- #3DCC70
#3DCC70
oklch(74.9% 0.178 151)
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 #EC7FE1, closest first.
No curated palette has a color within ΔE 0.04 of #EC7FE1.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.019
- Purply Pink #F075E6 ΔE 0.024
- Lavender Pink #DD85D7 ΔE 0.032
- Bubblegum Pink #FE83CC ΔE 0.048
- Orchid #DA70D6 ΔE 0.048
- Candy Pink #FF63E9 ΔE 0.061
- Bubblegum #FF6CB5 ΔE 0.071
- Hot Pink #FF69B4 ΔE 0.074
Use #EC7FE1 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.