#EB8AEE#EB8AEE
#EB8AEE is a light, vivid purple. Relative luminance 0.420; OKLCH L 77.0% C 0.171 H 326.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #EB8AEE |
|---|---|
| RGB | rgb(235, 138, 238) |
| HSL | hsl(298, 75%, 74%) |
| HSV | hsv(298, 42%, 93%) |
| CMYK | cmyk(1.3%, 42%, 0%, 6.7%) |
| CIE-LAB | lab(70.88, 51.51, -35.00) |
| CIE-LCH | lch(70.88, 62.27, 325.80°) |
| OKLab | oklab(77% 0.142 -0.0957) |
| OKLCH | oklch(77% 0.171 326) |
| XYZ | xyz(58.7808, 42.0149, 85.8858) |
| Luminance | 0.4201 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.67
Lavender Pink
#DD85D7
ΔE00 3.93
Purply Pink
#F075E6
ΔE00 4.17
Orchid
#DA70D6
ΔE00 6.64
Candy Pink
#FF63E9
ΔE00 6.92
Plum
#DDA0DD
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EB8AEE #8DEE8A
analogous
#B98AEE #EB8AEE #EE8ABF
triadic
#EB8AEE #EEEB8A #8AEEEB
tetradic
#EB8AEE #EEB98A #8DEE8A #8ABFEE
square
#EB8AEE #EEB98A #8DEE8A #8ABFEE
split-complementary
#EB8AEE #BFEE8A #8AEEB9
monochromatic
#D820DD #E255E6 #EB8AEE #F4BFF6 #FAE4FB
Accessibility & contrast
On white
2.23
#EB8AEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#EB8AEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EB8AEE
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EB8AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EB8AEE | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#9BB2EB
Tritanopia (blue-blind)
#F094B1
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #eb8aee; /* rgb */ color: rgb(235, 138, 238); /* oklch */ color: oklch(77.0% 0.171 326.0);
Tailwind
colors: {
custom: {
50: '#f3aef4',
500: '#eb8aee',
950: '#000000',
},
}SCSS
$custom: #eb8aee; $custom-light: #f3aef4; $custom-dark: #000000;
JSON
{
"hex": "#eb8aee",
"rgb": {
"r": 235,
"g": 138,
"b": 238
},
"hsl": {
"h": 298.2,
"s": 74.627,
"l": 73.725
},
"oklch": {
"l": 0.76996,
"c": 0.17123,
"h": 326
},
"luminance": 0.42012
}Semantic roles & 50–950 ramp
primary
#EB8AEE
secondary
#D9F3D8
accent
#D70F15
background
#FFFAFE
surface
#FEF5FD
border
#D6CFD5
text
#171017
muted
#857F85