#E28AF3#E28AF3
#E28AF3 is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.2% C 0.171 H 321.0°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #E28AF3 |
|---|---|
| RGB | rgb(226, 138, 243) |
| HSL | hsl(290, 81%, 75%) |
| HSV | hsv(290, 43%, 95%) |
| CMYK | cmyk(7%, 43.2%, 0%, 4.7%) |
| CIE-LAB | lab(70.05, 49.83, -39.11) |
| CIE-LCH | lch(70.05, 63.34, 321.87°) |
| OKLab | oklab(76.22% 0.1327 -0.1077) |
| OKLCH | oklch(76.22% 0.171 321) |
| XYZ | xyz(56.6283, 40.8189, 89.6725) |
| Luminance | 0.4082 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.87
Lavender Pink
#DD85D7
ΔE00 4.86
Purply Pink
#F075E6
ΔE00 5.12
Baby Purple
#CA9BF7
ΔE00 6.60
Liliac
#C48EFD
ΔE00 6.74
Orchid
#DA70D6
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E28AF3 #9BF38A
analogous
#AE8AF3 #E28AF3 #F38ACF
triadic
#E28AF3 #F3E28A #8AF3E2
tetradic
#E28AF3 #F3AE8A #9BF38A #8ACFF3
square
#E28AF3 #F3AE8A #9BF38A #8ACFF3
split-complementary
#E28AF3 #CFF38A #8AF3AE
monochromatic
#C61BE8 #D452ED #E28AF3 #F0C2F9 #F8E3FC
Accessibility & contrast
On white
2.29
#E28AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#E28AF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E28AF3
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E28AF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E28AF3 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA5F7
Deuteranopia (green-blind)
#93AFF0
Tritanopia (blue-blind)
#E497B3
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #e28af3; /* rgb */ color: rgb(226, 138, 243); /* oklch */ color: oklch(76.2% 0.171 321.0);
Tailwind
colors: {
custom: {
50: '#edaef7',
500: '#e28af3',
950: '#000000',
},
}SCSS
$custom: #e28af3; $custom-light: #edaef7; $custom-dark: #000000;
JSON
{
"hex": "#e28af3",
"rgb": {
"r": 226,
"g": 138,
"b": 243
},
"hsl": {
"h": 290.286,
"s": 81.395,
"l": 74.706
},
"oklch": {
"l": 0.76216,
"c": 0.17091,
"h": 321
},
"luminance": 0.40817
}Semantic roles & 50–950 ramp
primary
#E28AF3
secondary
#DCF4D7
accent
#DE082A
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85