#EB7AF0#EB7AF0
#EB7AF0 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.8% C 0.199 H 325.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #EB7AF0 |
|---|---|
| RGB | rgb(235, 122, 240) |
| HSL | hsl(297, 80%, 71%) |
| HSV | hsv(297, 49%, 94%) |
| CMYK | cmyk(2.1%, 49.2%, 0%, 5.9%) |
| CIE-LAB | lab(67.93, 59.76, -40.69) |
| CIE-LCH | lch(67.93, 72.30, 325.75°) |
| OKLab | oklab(74.83% 0.1643 -0.1119) |
| OKLCH | oklch(74.83% 0.199 325.7) |
| XYZ | xyz(56.9474, 37.8755, 86.7323) |
| Luminance | 0.3787 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.94
Purply Pink
#F075E6
ΔE00 2.19
Light Magenta
#FA5FF7
ΔE00 4.35
Violet Pink
#FB5FFC
ΔE00 4.49
Candy Pink
#FF63E9
ΔE00 4.53
Orchid
#DA70D6
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB7AF0 #7FF07A
analogous
#B07AF0 #EB7AF0 #F07ABA
triadic
#EB7AF0 #F0EB7A #7AF0EB
tetradic
#EB7AF0 #F0B07A #7FF07A #7ABAF0
square
#EB7AF0 #F0B07A #7FF07A #7ABAF0
split-complementary
#EB7AF0 #BAF07A #7AF0B0
monochromatic
#CF18D7 #E343EA #EB7AF0 #F3B1F6 #FBE4FC
Accessibility & contrast
On white
2.45
#EB7AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#EB7AF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB7AF0
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB7AF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB7AF0 | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9CF4
Deuteranopia (green-blind)
#8FABEC
Tritanopia (blue-blind)
#F088AA
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #eb7af0; /* rgb */ color: rgb(235, 122, 240); /* oklch */ color: oklch(74.8% 0.199 325.7);
Tailwind
colors: {
custom: {
50: '#f4a4f5',
500: '#eb7af0',
950: '#000000',
},
}SCSS
$custom: #eb7af0; $custom-light: #f4a4f5; $custom-dark: #000000;
JSON
{
"hex": "#eb7af0",
"rgb": {
"r": 235,
"g": 122,
"b": 240
},
"hsl": {
"h": 297.458,
"s": 79.73,
"l": 70.98
},
"oklch": {
"l": 0.74829,
"c": 0.19881,
"h": 325.7
},
"luminance": 0.37873
}Semantic roles & 50–950 ramp
primary
#EB7AF0
secondary
#D5F3D3
accent
#DC0912
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85