#EB7AF2#EB7AF2
#EB7AF2 is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 74.9% C 0.201 H 325.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #EB7AF2 |
|---|---|
| RGB | rgb(235, 122, 242) |
| HSL | hsl(297, 82%, 71%) |
| HSV | hsv(297, 50%, 95%) |
| CMYK | cmyk(2.9%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(68.02, 60.11, -41.66) |
| CIE-LCH | lch(68.02, 73.13, 325.28°) |
| OKLab | oklab(74.92% 0.1646 -0.1147) |
| OKLCH | oklch(74.92% 0.201 325.1) |
| XYZ | xyz(57.2462, 37.9949, 88.3056) |
| Luminance | 0.3799 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.11
Purply Pink
#F075E6
ΔE00 2.49
Light Magenta
#FA5FF7
ΔE00 4.30
Violet Pink
#FB5FFC
ΔE00 4.40
Candy Pink
#FF63E9
ΔE00 4.67
Orchid
#DA70D6
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB7AF2 #81F27A
analogous
#AF7AF2 #EB7AF2 #F27ABD
triadic
#EB7AF2 #F2EB7A #7AF2EB
tetradic
#EB7AF2 #F2AF7A #81F27A #7ABDF2
square
#EB7AF2 #F2AF7A #81F27A #7ABDF2
split-complementary
#EB7AF2 #BDF27A #7AF2AF
monochromatic
#D116DC #E342ED #EB7AF2 #F3B2F7 #FBE3FC
Accessibility & contrast
On white
2.44
#EB7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#EB7AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB7AF2
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB7AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB7AF2 | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#8EABEE
Tritanopia (blue-blind)
#F088AB
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #eb7af2; /* rgb */ color: rgb(235, 122, 242); /* oklch */ color: oklch(74.9% 0.201 325.1);
Tailwind
colors: {
custom: {
50: '#f4a4f7',
500: '#eb7af2',
950: '#000000',
},
}SCSS
$custom: #eb7af2; $custom-light: #f4a4f7; $custom-dark: #000000;
JSON
{
"hex": "#eb7af2",
"rgb": {
"r": 235,
"g": 122,
"b": 242
},
"hsl": {
"h": 296.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.74923,
"c": 0.20061,
"h": 325.1
},
"luminance": 0.37992
}Semantic roles & 50–950 ramp
primary
#EB7AF2
secondary
#D6F3D4
accent
#DF0713
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85