#EC57F2#EC57F2
#EC57F2 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 71.0% C 0.250 H 326.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #EC57F2 |
|---|---|
| RGB | rgb(236, 87, 242) |
| HSL | hsl(298, 86%, 65%) |
| HSV | hsv(298, 64%, 95%) |
| CMYK | cmyk(2.5%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(62.56, 75.56, -50.24) |
| CIE-LCH | lch(62.56, 90.73, 326.38°) |
| OKLab | oklab(70.96% 0.2081 -0.1392) |
| OKLCH | oklch(70.96% 0.25 326.2) |
| XYZ | xyz(54.0262, 31.0635, 87.1374) |
| Luminance | 0.3106 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.99
Violet Pink
#FB5FFC
ΔE00 3.17
Heliotrope
#D94FF5
ΔE00 4.15
Magenta
#FF00FF
ΔE00 4.93
Fuchsia
#FF00FF
ΔE00 4.93
Candy Pink
#FF63E9
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC57F2 #5DF257
analogous
#9E57F2 #EC57F2 #F257AB
triadic
#EC57F2 #F2EC57 #57F2EC
tetradic
#EC57F2 #F29E57 #5DF257 #57ABF2
square
#EC57F2 #F29E57 #5DF257 #57ABF2
split-complementary
#EC57F2 #ABF257 #57F29E
monochromatic
#B90FC0 #E61EEE #EC57F2 #F290F6 #F9C9FB
Accessibility & contrast
On white
2.91
#EC57F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#EC57F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC57F2
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC57F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC57F2 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8BF7
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#F26D9E
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #ec57f2; /* rgb */ color: rgb(236, 87, 242); /* oklch */ color: oklch(71.0% 0.250 326.2);
Tailwind
colors: {
custom: {
50: '#f691f7',
500: '#ec57f2',
950: '#000000',
},
}SCSS
$custom: #ec57f2; $custom-light: #f691f7; $custom-dark: #000000;
JSON
{
"hex": "#ec57f2",
"rgb": {
"r": 236,
"g": 87,
"b": 242
},
"hsl": {
"h": 297.677,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.70964,
"c": 0.25033,
"h": 326.2
},
"luminance": 0.3106
}Semantic roles & 50–950 ramp
primary
#EC57F2
secondary
#BAEDB8
accent
#E2030C
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85