#EC8CD9
Closest named color: Lavender Pink (#DD85D7). oklch(76.5% 0.15 334.6), rgb(236, 140, 217).
Aa
Black text reads best on this color (9.31:1).
About this color
#EC8CD9 is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.150 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.032 away. Black text reads best on it, at 9.31:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | vivid (0.150) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 9.31:1 |
| White text | 2.25:1 |
Values
| HEX | #EC8CD9 |
| RGB | rgb(236, 140, 217) |
| HSL | hsl(312, 72%, 74%) |
| OKLCH | oklch(76.5% 0.15 334.6) |
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 #EC8CD9 | 2.25:1 | Fails | Lc -49.0 | Large or bold text, headings |
| Black text on #EC8CD9 | 9.31:1 | AAA | Lc 59.8 | Large or bold text, headings |
| #EC8CD9 text on white | 2.25:1 | Fails | Lc 44.1 | Non-text elements, placeholder text |
| #EC8CD9 text on black | 9.31:1 | AAA | Lc -58.0 | 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
#FFF1FB
oklch(97.2% 0.02 335.7)
-
Step 100
100
#FDE0F6
oklch(93.7% 0.043 334.3)
-
Step 200
200
#FCC5F0
oklch(88.5% 0.083 334.1)
-
Step 300
300 (this color)
#EC8CD9
oklch(76.5% 0.15 334.6)
-
Step 400
400
#F455DB
oklch(70.7% 0.24 334.7)
-
Step 500
500
#E400CB
oklch(63% 0.281 334.6)
-
Step 600
600
#C100AB
oklch(55.6% 0.248 334.8)
-
Step 700
700
#A30091
oklch(49.1% 0.219 334.5)
-
Step 800
800
#870077
oklch(42.7% 0.19 334.9)
-
Step 900
900
#710064
oklch(37.7% 0.168 334.6)
-
Step 950
950
#46003D
oklch(27% 0.12 334.9)
#EC8CD9 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) | #8CA4DC | 0.149 |
| Deuteranopia (no green cones) | #A5B2D6 | 0.136 |
| Tritanopia (no blue cones) | #F590A9 | 0.075 |
| Achromatopsia (no color) | #ADADAD | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EC8CD9
#EC8CD9
oklch(76.5% 0.15 334.6)
- #55CE87
#55CE87
oklch(76.5% 0.15 154.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 #EC8CD9, closest first.
No curated palette has a color within ΔE 0.04 of #EC8CD9.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.032
- Bubblegum Pink #FE83CC ΔE 0.036
- Violet #EE82EE ΔE 0.042
- Plum #DDA0DD ΔE 0.049
- Purply Pink #F075E6 ΔE 0.057
- Baby Purple #CA9BF7 ΔE 0.070
- Pinky #FC86AA ΔE 0.070
- Orchid #DA70D6 ΔE 0.073
Use #EC8CD9 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.