#ED57F2#ED57F2
#ED57F2 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 71.1% C 0.251 H 326.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #ED57F2 |
|---|---|
| RGB | rgb(237, 87, 242) |
| HSL | hsl(298, 86%, 65%) |
| HSV | hsv(298, 64%, 95%) |
| CMYK | cmyk(2.1%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(62.71, 75.78, -50.00) |
| CIE-LCH | lch(62.71, 90.79, 326.59°) |
| OKLab | oklab(71.1% 0.2091 -0.1385) |
| OKLCH | oklch(71.1% 0.251 326.5) |
| XYZ | xyz(54.3593, 31.2352, 87.1530) |
| Luminance | 0.3123 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.83
Violet Pink
#FB5FFC
ΔE00 3.03
Heliotrope
#D94FF5
ΔE00 4.32
Candy Pink
#FF63E9
ΔE00 4.85
Magenta
#FF00FF
ΔE00 4.94
Fuchsia
#FF00FF
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ED57F2 #5CF257
analogous
#A057F2 #ED57F2 #F257A9
triadic
#ED57F2 #F2ED57 #57F2ED
tetradic
#ED57F2 #F2A057 #5CF257 #57A9F2
square
#ED57F2 #F2A057 #5CF257 #57A9F2
split-complementary
#ED57F2 #A9F257 #57F2A0
monochromatic
#BA0FC0 #E71EEE #ED57F2 #F390F6 #F9C9FB
Accessibility & contrast
On white
2.90
#ED57F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#ED57F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ED57F2
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ED57F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ED57F2 | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8BF7
Deuteranopia (green-blind)
#799EEE
Tritanopia (blue-blind)
#F36D9E
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ed57f2; /* rgb */ color: rgb(237, 87, 242); /* oklch */ color: oklch(71.1% 0.251 326.5);
Tailwind
colors: {
custom: {
50: '#f691f7',
500: '#ed57f2',
950: '#000000',
},
}SCSS
$custom: #ed57f2; $custom-light: #f691f7; $custom-dark: #000000;
JSON
{
"hex": "#ed57f2",
"rgb": {
"r": 237,
"g": 87,
"b": 242
},
"hsl": {
"h": 298.065,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.71097,
"c": 0.25081,
"h": 326.5
},
"luminance": 0.31232
}Semantic roles & 50–950 ramp
primary
#ED57F2
secondary
#B9EDB8
accent
#E2030B
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85