#EC59F2#EC59F2
#EC59F2 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.2% C 0.248 H 326.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #EC59F2 |
|---|---|
| RGB | rgb(236, 89, 242) |
| HSL | hsl(298, 85%, 65%) |
| HSV | hsv(298, 63%, 95%) |
| CMYK | cmyk(2.5%, 63.2%, 0%, 5.1%) |
| CIE-LAB | lab(62.84, 74.79, -49.80) |
| CIE-LCH | lch(62.84, 89.85, 326.34°) |
| OKLab | oklab(71.16% 0.2059 -0.1379) |
| OKLCH | oklch(71.16% 0.248 326.2) |
| XYZ | xyz(54.1904, 31.3918, 87.1921) |
| Luminance | 0.3139 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.78
Violet Pink
#FB5FFC
ΔE00 2.97
Heliotrope
#D94FF5
ΔE00 4.35
Candy Pink
#FF63E9
ΔE00 4.82
Magenta
#FF00FF
ΔE00 5.18
Fuchsia
#FF00FF
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC59F2 #5FF259
analogous
#9F59F2 #EC59F2 #F259AC
triadic
#EC59F2 #F2EC59 #59F2EC
tetradic
#EC59F2 #F29F59 #5FF259 #59ACF2
square
#EC59F2 #F29F59 #5FF259 #59ACF2
split-complementary
#EC59F2 #ACF259 #59F29F
monochromatic
#BA0FC1 #E620EE #EC59F2 #F292F6 #F9CBFB
Accessibility & contrast
On white
2.89
#EC59F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#EC59F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC59F2
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC59F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC59F2 | 1.00 | 2.89 | 7.28 | 7.28 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408CF7
Deuteranopia (green-blind)
#799EEE
Tritanopia (blue-blind)
#F26F9E
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ec59f2; /* rgb */ color: rgb(236, 89, 242); /* oklch */ color: oklch(71.2% 0.248 326.2);
Tailwind
colors: {
custom: {
50: '#f692f7',
500: '#ec59f2',
950: '#000000',
},
}SCSS
$custom: #ec59f2; $custom-light: #f692f7; $custom-dark: #000000;
JSON
{
"hex": "#ec59f2",
"rgb": {
"r": 236,
"g": 89,
"b": 242
},
"hsl": {
"h": 297.647,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.71164,
"c": 0.24784,
"h": 326.2
},
"luminance": 0.31388
}Semantic roles & 50–950 ramp
primary
#EC59F2
secondary
#BBEDB9
accent
#E2040C
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85