#EB57F2#EB57F2
#EB57F2 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.8% C 0.250 H 325.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #EB57F2 |
|---|---|
| RGB | rgb(235, 87, 242) |
| HSL | hsl(297, 86%, 65%) |
| HSV | hsv(297, 64%, 95%) |
| CMYK | cmyk(2.9%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(62.42, 75.33, -50.47) |
| CIE-LCH | lch(62.42, 90.68, 326.18°) |
| OKLab | oklab(70.83% 0.207 -0.1399) |
| OKLCH | oklch(70.83% 0.25 325.9) |
| XYZ | xyz(53.6951, 30.8927, 87.1219) |
| Luminance | 0.3089 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.15
Violet Pink
#FB5FFC
ΔE00 3.32
Heliotrope
#D94FF5
ΔE00 3.98
Magenta
#FF00FF
ΔE00 4.92
Fuchsia
#FF00FF
ΔE00 4.92
Candy Pink
#FF63E9
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB57F2 #5EF257
analogous
#9D57F2 #EB57F2 #F257AC
triadic
#EB57F2 #F2EB57 #57F2EB
tetradic
#EB57F2 #F29D57 #5EF257 #57ACF2
square
#EB57F2 #F29D57 #5EF257 #57ACF2
split-complementary
#EB57F2 #ACF257 #57F29D
monochromatic
#B80FC0 #E41EEE #EB57F2 #F290F6 #F9C9FB
Accessibility & contrast
On white
2.93
#EB57F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#EB57F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB57F2
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB57F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB57F2 | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C8BF7
Deuteranopia (green-blind)
#779DEE
Tritanopia (blue-blind)
#F16E9E
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #eb57f2; /* rgb */ color: rgb(235, 87, 242); /* oklch */ color: oklch(70.8% 0.250 325.9);
Tailwind
colors: {
custom: {
50: '#f590f7',
500: '#eb57f2',
950: '#000000',
},
}SCSS
$custom: #eb57f2; $custom-light: #f590f7; $custom-dark: #000000;
JSON
{
"hex": "#eb57f2",
"rgb": {
"r": 235,
"g": 87,
"b": 242
},
"hsl": {
"h": 297.29,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.70831,
"c": 0.24983,
"h": 325.9
},
"luminance": 0.30889
}Semantic roles & 50–950 ramp
primary
#EB57F2
secondary
#BAEDB8
accent
#E2030D
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85