#EB6AF2#EB6AF2
#EB6AF2 is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.9% C 0.224 H 325.5°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #EB6AF2 |
|---|---|
| RGB | rgb(235, 106, 242) |
| HSL | hsl(297, 84%, 68%) |
| HSV | hsv(297, 56%, 95%) |
| CMYK | cmyk(2.9%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(65.27, 67.48, -45.97) |
| CIE-LCH | lch(65.27, 81.65, 325.73°) |
| OKLab | oklab(72.9% 0.1851 -0.127) |
| OKLCH | oklch(72.9% 0.224 325.5) |
| XYZ | xyz(55.4408, 34.3842, 87.7038) |
| Luminance | 0.3438 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.29
Violet Pink
#FB5FFC
ΔE00 2.47
Purply Pink
#F075E6
ΔE00 3.54
Candy Pink
#FF63E9
ΔE00 3.91
Orchid
#DA70D6
ΔE00 4.56
Violet (CSS)
#EE82EE
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB6AF2 #71F26A
analogous
#A76AF2 #EB6AF2 #F26AB5
triadic
#EB6AF2 #F2EB6A #6AF2EB
tetradic
#EB6AF2 #F2A76A #71F26A #6AB5F2
square
#EB6AF2 #F2A76A #71F26A #6AB5F2
split-complementary
#EB6AF2 #B5F26A #6AF2A7
monochromatic
#C612CF #E332ED #EB6AF2 #F3A2F7 #FADBFC
Accessibility & contrast
On white
2.67
#EB6AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#EB6AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB6AF2
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB6AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB6AF2 | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#83A4EE
Tritanopia (blue-blind)
#F07CA4
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #eb6af2; /* rgb */ color: rgb(235, 106, 242); /* oklch */ color: oklch(72.9% 0.224 325.5);
Tailwind
colors: {
custom: {
50: '#f49bf7',
500: '#eb6af2',
950: '#000000',
},
}SCSS
$custom: #eb6af2; $custom-light: #f49bf7; $custom-dark: #000000;
JSON
{
"hex": "#eb6af2",
"rgb": {
"r": 235,
"g": 106,
"b": 242
},
"hsl": {
"h": 296.912,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.72902,
"c": 0.22449,
"h": 325.5
},
"luminance": 0.34381
}Semantic roles & 50–950 ramp
primary
#EB6AF2
secondary
#C9F1C7
accent
#E00510
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170F17
muted
#857E85