#EA8EF2#EA8EF2
#EA8EF2 is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.7% C 0.168 H 324.1°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #EA8EF2 |
|---|---|
| RGB | rgb(234, 142, 242) |
| HSL | hsl(295, 79%, 75%) |
| HSV | hsv(295, 41%, 95%) |
| CMYK | cmyk(3.3%, 41.3%, 0%, 5.1%) |
| CIE-LAB | lab(71.73, 49.91, -35.88) |
| CIE-LCH | lch(71.73, 61.47, 324.28°) |
| OKLab | oklab(77.66% 0.136 -0.0983) |
| OKLCH | oklch(77.66% 0.168 324.1) |
| XYZ | xyz(59.6301, 43.2517, 89.1946) |
| Luminance | 0.4325 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.54
Lavender Pink
#DD85D7
ΔE00 4.61
Purply Pink
#F075E6
ΔE00 5.13
Plum
#DDA0DD
ΔE00 6.97
Baby Purple
#CA9BF7
ΔE00 7.46
Orchid
#DA70D6
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EA8EF2 #96F28E
analogous
#B88EF2 #EA8EF2 #F28EC8
triadic
#EA8EF2 #F2EA8E #8EF2EA
tetradic
#EA8EF2 #F2B88E #96F28E #8EC8F2
square
#EA8EF2 #F2B88E #96F28E #8EC8F2
split-complementary
#EA8EF2 #C8F28E #8EF2B8
monochromatic
#D620E5 #E057EC #EA8EF2 #F4C5F8 #FAE4FC
Accessibility & contrast
On white
2.18
#EA8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#EA8EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EA8EF2
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EA8EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EA8EF2 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A9F6
Deuteranopia (green-blind)
#9CB4EF
Tritanopia (blue-blind)
#EE99B5
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ea8ef2; /* rgb */ color: rgb(234, 142, 242); /* oklch */ color: oklch(77.7% 0.168 324.1);
Tailwind
colors: {
custom: {
50: '#f2b1f6',
500: '#ea8ef2',
950: '#000000',
},
}SCSS
$custom: #ea8ef2; $custom-light: #f2b1f6; $custom-dark: #000000;
JSON
{
"hex": "#ea8ef2",
"rgb": {
"r": 234,
"g": 142,
"b": 242
},
"hsl": {
"h": 295.2,
"s": 79.365,
"l": 75.294
},
"oklch": {
"l": 0.77656,
"c": 0.16779,
"h": 324.1
},
"luminance": 0.43249
}Semantic roles & 50–950 ramp
primary
#EA8EF2
secondary
#DAF4D7
accent
#DC0A1B
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085