#EC89EC#EC89EC
#EC89EC is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.9% C 0.172 H 327.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #EC89EC |
|---|---|
| RGB | rgb(236, 137, 236) |
| HSL | hsl(300, 72%, 73%) |
| HSV | hsv(300, 42%, 93%) |
| CMYK | cmyk(0%, 41.9%, 0%, 7.5%) |
| CIE-LAB | lab(70.72, 51.94, -34.14) |
| CIE-LCH | lch(70.72, 62.16, 326.69°) |
| OKLab | oklab(76.88% 0.1441 -0.0933) |
| OKLCH | oklch(76.88% 0.172 327.1) |
| XYZ | xyz(58.6769, 41.7831, 84.3148) |
| Luminance | 0.4178 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.54
Lavender Pink
#DD85D7
ΔE00 3.69
Purply Pink
#F075E6
ΔE00 3.90
Orchid
#DA70D6
ΔE00 6.46
Candy Pink
#FF63E9
ΔE00 6.65
Plum
#DDA0DD
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC89EC #89EC89
analogous
#BA89EC #EC89EC #EC89BA
triadic
#EC89EC #ECEC89 #89ECEC
tetradic
#EC89EC #ECBA89 #89EC89 #89BAEC
square
#EC89EC #ECBA89 #89EC89 #89BAEC
split-complementary
#EC89EC #BAEC89 #89ECBA
monochromatic
#D823D8 #E454E4 #EC89EC #F4BEF4 #FBE5FB
Accessibility & contrast
On white
2.24
#EC89EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#EC89EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC89EC
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC89EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC89EC | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#9CB2E9
Tritanopia (blue-blind)
#F293B0
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #ec89ec; /* rgb */ color: rgb(236, 137, 236); /* oklch */ color: oklch(76.9% 0.172 327.1);
Tailwind
colors: {
custom: {
50: '#f4aef2',
500: '#ec89ec',
950: '#000000',
},
}SCSS
$custom: #ec89ec; $custom-light: #f4aef2; $custom-dark: #000000;
JSON
{
"hex": "#ec89ec",
"rgb": {
"r": 236,
"g": 137,
"b": 236
},
"hsl": {
"h": 300,
"s": 72.263,
"l": 73.137
},
"oklch": {
"l": 0.76876,
"c": 0.17164,
"h": 327.1
},
"luminance": 0.4178
}Semantic roles & 50–950 ramp
primary
#EC89EC
secondary
#D9F2D9
accent
#D41111
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171017
muted
#857F85