#EC89F2#EC89F2
#EC89F2 is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.1% C 0.177 H 325.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #EC89F2 |
|---|---|
| RGB | rgb(236, 137, 242) |
| HSL | hsl(297, 80%, 74%) |
| HSV | hsv(297, 43%, 95%) |
| CMYK | cmyk(2.5%, 43.4%, 0%, 5.1%) |
| CIE-LAB | lab(70.97, 53.02, -37.05) |
| CIE-LCH | lch(70.97, 64.68, 325.06°) |
| OKLab | oklab(77.14% 0.1452 -0.1016) |
| OKLCH | oklch(77.14% 0.177 325) |
| XYZ | xyz(59.5633, 42.1377, 88.9831) |
| Luminance | 0.4214 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.51
Purply Pink
#F075E6
ΔE00 4.14
Lavender Pink
#DD85D7
ΔE00 4.53
Orchid
#DA70D6
ΔE00 6.75
Candy Pink
#FF63E9
ΔE00 6.77
Light Magenta
#FA5FF7
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC89F2 #8FF289
analogous
#B789F2 #EC89F2 #F289C4
triadic
#EC89F2 #F2EC89 #89F2EC
tetradic
#EC89F2 #F2B789 #8FF289 #89C4F2
square
#EC89F2 #F2B789 #8FF289 #89C4F2
split-complementary
#EC89F2 #C4F289 #89F2B7
monochromatic
#DA1BE6 #E352EC #EC89F2 #F5C0F8 #FBE3FC
Accessibility & contrast
On white
2.23
#EC89F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#EC89F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC89F2
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC89F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC89F2 | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#9AB2EF
Tritanopia (blue-blind)
#F094B2
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #ec89f2; /* rgb */ color: rgb(236, 137, 242); /* oklch */ color: oklch(77.1% 0.177 325.0);
Tailwind
colors: {
custom: {
50: '#f4aef6',
500: '#ec89f2',
950: '#000000',
},
}SCSS
$custom: #ec89f2; $custom-light: #f4aef6; $custom-dark: #000000;
JSON
{
"hex": "#ec89f2",
"rgb": {
"r": 236,
"g": 137,
"b": 242
},
"hsl": {
"h": 296.571,
"s": 80.153,
"l": 74.314
},
"oklch": {
"l": 0.77138,
"c": 0.17723,
"h": 325
},
"luminance": 0.42135
}Semantic roles & 50–950 ramp
primary
#EC89F2
secondary
#D9F4D7
accent
#DC0915
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#171017
muted
#857F85