#EB5AF2#EB5AF2
#EB5AF2 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.1% C 0.246 H 325.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #EB5AF2 |
|---|---|
| RGB | rgb(235, 90, 242) |
| HSL | hsl(297, 85%, 65%) |
| HSV | hsv(297, 63%, 95%) |
| CMYK | cmyk(2.9%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(62.83, 74.17, -49.81) |
| CIE-LCH | lch(62.83, 89.34, 326.11°) |
| OKLab | oklab(71.13% 0.2037 -0.138) |
| OKLCH | oklch(71.13% 0.246 325.9) |
| XYZ | xyz(53.9430, 31.3886, 87.2045) |
| Luminance | 0.3139 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.84
Violet Pink
#FB5FFC
ΔE00 3.02
Heliotrope
#D94FF5
ΔE00 4.29
Candy Pink
#FF63E9
ΔE00 4.89
Magenta
#FF00FF
ΔE00 5.30
Fuchsia
#FF00FF
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB5AF2 #61F25A
analogous
#9F5AF2 #EB5AF2 #F25AAD
triadic
#EB5AF2 #F2EB5A #5AF2EB
tetradic
#EB5AF2 #F29F5A #61F25A #5AADF2
square
#EB5AF2 #F29F5A #61F25A #5AADF2
split-complementary
#EB5AF2 #ADF25A #5AF29F
monochromatic
#BA0FC2 #E421EE #EB5AF2 #F293F6 #F9CBFB
Accessibility & contrast
On white
2.89
#EB5AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#EB5AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB5AF2
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB5AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB5AF2 | 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)
#418CF7
Deuteranopia (green-blind)
#799EEE
Tritanopia (blue-blind)
#F1709F
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #eb5af2; /* rgb */ color: rgb(235, 90, 242); /* oklch */ color: oklch(71.1% 0.246 325.9);
Tailwind
colors: {
custom: {
50: '#f592f7',
500: '#eb5af2',
950: '#000000',
},
}SCSS
$custom: #eb5af2; $custom-light: #f592f7; $custom-dark: #000000;
JSON
{
"hex": "#eb5af2",
"rgb": {
"r": 235,
"g": 90,
"b": 242
},
"hsl": {
"h": 297.237,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.71133,
"c": 0.24609,
"h": 325.9
},
"luminance": 0.31385
}Semantic roles & 50–950 ramp
primary
#EB5AF2
secondary
#BDEEBA
accent
#E2040E
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85