#EBA2FE#EBA2FE
#EBA2FE is a light, vivid purple. Relative luminance 0.507; OKLCH L 81.4% C 0.147 H 319.2°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #EBA2FE |
|---|---|
| RGB | rgb(235, 162, 254) |
| HSL | hsl(288, 98%, 82%) |
| HSV | hsv(288, 36%, 100%) |
| CMYK | cmyk(7.5%, 36.2%, 0%, 0.4%) |
| CIE-LAB | lab(76.47, 42.08, -35.03) |
| CIE-LCH | lch(76.47, 54.75, 320.22°) |
| OKLab | oklab(81.41% 0.1112 -0.096) |
| OKLCH | oklch(81.41% 0.147 319.2) |
| XYZ | xyz(65.0683, 50.6604, 100.0975) |
| Luminance | 0.5066 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mauve
#E0B0FF
ΔE00 4.42
Lilac (survey)
#CEA2FD
ΔE00 5.85
Plum
#DDA0DD
ΔE00 6.11
Baby Purple
#CA9BF7
ΔE00 6.20
Lavender (survey)
#C79FEF
ΔE00 6.59
Pastel Purple
#CAA0FF
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EBA2FE #B5FEA2
analogous
#BDA2FE #EBA2FE #FEA2E3
triadic
#EBA2FE #FEEBA2 #A2FEEB
tetradic
#EBA2FE #FEBDA2 #B5FEA2 #A2E3FE
square
#EBA2FE #FEBDA2 #B5FEA2 #A2E3FE
split-complementary
#EBA2FE #E3FEA2 #A2FEBD
monochromatic
#D129FD #DE65FD #EBA2FE #F8DFFF #F8E1FF
Accessibility & contrast
On white
1.89
#EBA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.13
#EBA2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EBA2FE
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EBA2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EBA2FE | 1.00 | 1.89 | 11.13 | 11.13 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96B8FF
Deuteranopia (green-blind)
#A8BFFB
Tritanopia (blue-blind)
#ECADC4
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #eba2fe; /* rgb */ color: rgb(235, 162, 254); /* oklch */ color: oklch(81.4% 0.147 319.2);
Tailwind
colors: {
custom: {
50: '#f2beff',
500: '#eba2fe',
950: '#000000',
},
}SCSS
$custom: #eba2fe; $custom-light: #f2beff; $custom-dark: #000000;
JSON
{
"hex": "#eba2fe",
"rgb": {
"r": 235,
"g": 162,
"b": 254
},
"hsl": {
"h": 287.609,
"s": 97.872,
"l": 81.569
},
"oklch": {
"l": 0.81407,
"c": 0.1469,
"h": 319.2
},
"luminance": 0.50659
}Semantic roles & 50–950 ramp
primary
#EBA2FE
secondary
#7DE262
accent
#E6002F
background
#FFFDFF
surface
#FEF9FF
border
#D6D2D7
text
#171218
muted
#858286