#EB51F2#EB51F2
#EB51F2 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 70.3% C 0.257 H 326.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #EB51F2 |
|---|---|
| RGB | rgb(235, 81, 242) |
| HSL | hsl(297, 86%, 63%) |
| HSV | hsv(297, 67%, 95%) |
| CMYK | cmyk(2.9%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(61.62, 77.56, -51.74) |
| CIE-LCH | lch(61.62, 93.23, 326.30°) |
| OKLab | oklab(70.26% 0.2132 -0.1435) |
| OKLCH | oklch(70.26% 0.257 326.1) |
| XYZ | xyz(53.2293, 29.9613, 86.9666) |
| Luminance | 0.2996 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.47
Light Magenta
#FA5FF7
ΔE00 3.82
Violet Pink
#FB5FFC
ΔE00 3.97
Magenta
#FF00FF
ΔE00 4.24
Fuchsia
#FF00FF
ΔE00 4.24
Bright Magenta
#FF08E8
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB51F2 #58F251
analogous
#9A51F2 #EB51F2 #F251A9
triadic
#EB51F2 #F2EB51 #51F2EB
tetradic
#EB51F2 #F29A51 #58F251 #51A9F2
square
#EB51F2 #F29A51 #58F251 #51A9F2
split-complementary
#EB51F2 #A9F251 #51F29A
monochromatic
#B30EBB #E418EE #EB51F2 #F28AF6 #F8C3FB
Accessibility & contrast
On white
3.00
#EB51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#EB51F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EB51F2
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB51F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB51F2 | 1.00 | 3.00 | 6.99 | 6.99 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3188F7
Deuteranopia (green-blind)
#749CEE
Tritanopia (blue-blind)
#F1699C
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #eb51f2; /* rgb */ color: rgb(235, 81, 242); /* oklch */ color: oklch(70.3% 0.257 326.1);
Tailwind
colors: {
custom: {
50: '#f58ef7',
500: '#eb51f2',
950: '#000000',
},
}SCSS
$custom: #eb51f2; $custom-light: #f58ef7; $custom-dark: #000000;
JSON
{
"hex": "#eb51f2",
"rgb": {
"r": 235,
"g": 81,
"b": 242
},
"hsl": {
"h": 297.391,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.70258,
"c": 0.25704,
"h": 326.1
},
"luminance": 0.29958
}Semantic roles & 50–950 ramp
primary
#EB51F2
secondary
#B5ECB3
accent
#E3030D
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D17
muted
#867E85