#EB7AEF#EB7AEF
#EB7AEF is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.8% C 0.198 H 326.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #EB7AEF |
|---|---|
| RGB | rgb(235, 122, 239) |
| HSL | hsl(298, 79%, 71%) |
| HSV | hsv(298, 49%, 94%) |
| CMYK | cmyk(1.7%, 49%, 0%, 6.3%) |
| CIE-LAB | lab(67.88, 59.58, -40.21) |
| CIE-LCH | lch(67.88, 71.88, 325.98°) |
| OKLab | oklab(74.78% 0.1642 -0.1105) |
| OKLCH | oklch(74.78% 0.198 326) |
| XYZ | xyz(56.7993, 37.8162, 85.9521) |
| Luminance | 0.3781 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.86
Purply Pink
#F075E6
ΔE00 2.05
Light Magenta
#FA5FF7
ΔE00 4.39
Candy Pink
#FF63E9
ΔE00 4.46
Violet Pink
#FB5FFC
ΔE00 4.55
Orchid
#DA70D6
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB7AEF #7EEF7A
analogous
#B07AEF #EB7AEF #EF7AB8
triadic
#EB7AEF #EFEB7A #7AEFEB
tetradic
#EB7AEF #EFB07A #7EEF7A #7AB8EF
square
#EB7AEF #EFB07A #7EEF7A #7AB8EF
split-complementary
#EB7AEF #B8EF7A #7AEFB0
monochromatic
#CF1AD5 #E343E8 #EB7AEF #F3B1F6 #FBE4FC
Accessibility & contrast
On white
2.45
#EB7AEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#EB7AEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB7AEF
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB7AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB7AEF | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#8FAAEC
Tritanopia (blue-blind)
#F087AA
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #eb7aef; /* rgb */ color: rgb(235, 122, 239); /* oklch */ color: oklch(74.8% 0.198 326.0);
Tailwind
colors: {
custom: {
50: '#f4a4f4',
500: '#eb7aef',
950: '#000000',
},
}SCSS
$custom: #eb7aef; $custom-light: #f4a4f4; $custom-dark: #000000;
JSON
{
"hex": "#eb7aef",
"rgb": {
"r": 235,
"g": 122,
"b": 239
},
"hsl": {
"h": 297.949,
"s": 78.523,
"l": 70.784
},
"oklch": {
"l": 0.74783,
"c": 0.19791,
"h": 326
},
"luminance": 0.37813
}Semantic roles & 50–950 ramp
primary
#EB7AEF
secondary
#D4F2D3
accent
#DB0B12
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85