#E28BF2#E28BF2
#E28BF2 is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.3% C 0.168 H 321.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #E28BF2 |
|---|---|
| RGB | rgb(226, 139, 242) |
| HSL | hsl(291, 80%, 75%) |
| HSV | hsv(291, 43%, 95%) |
| CMYK | cmyk(6.6%, 42.6%, 0%, 5.1%) |
| CIE-LAB | lab(70.21, 49.12, -38.31) |
| CIE-LCH | lch(70.21, 62.30, 322.05°) |
| OKLab | oklab(76.32% 0.1312 -0.1054) |
| OKLCH | oklch(76.32% 0.168 321.2) |
| XYZ | xyz(56.6218, 41.0469, 88.9274) |
| Luminance | 0.4104 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.89
Lavender Pink
#DD85D7
ΔE00 4.70
Purply Pink
#F075E6
ΔE00 5.20
Baby Purple
#CA9BF7
ΔE00 6.54
Orchid
#DA70D6
ΔE00 6.82
Liliac
#C48EFD
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E28BF2 #9BF28B
analogous
#AF8BF2 #E28BF2 #F28BCE
triadic
#E28BF2 #F2E28B #8BF2E2
tetradic
#E28BF2 #F2AF8B #9BF28B #8BCEF2
square
#E28BF2 #F2AF8B #9BF28B #8BCEF2
split-complementary
#E28BF2 #CEF28B #8BF2AF
monochromatic
#C61DE6 #D454EC #E28BF2 #F0C2F8 #F8E3FC
Accessibility & contrast
On white
2.28
#E28BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#E28BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E28BF2
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E28BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E28BF2 | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#E498B3
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #e28bf2; /* rgb */ color: rgb(226, 139, 242); /* oklch */ color: oklch(76.3% 0.168 321.2);
Tailwind
colors: {
custom: {
50: '#edaff6',
500: '#e28bf2',
950: '#000000',
},
}SCSS
$custom: #e28bf2; $custom-light: #edaff6; $custom-dark: #000000;
JSON
{
"hex": "#e28bf2",
"rgb": {
"r": 226,
"g": 139,
"b": 242
},
"hsl": {
"h": 290.68,
"s": 79.845,
"l": 74.706
},
"oklch": {
"l": 0.76322,
"c": 0.16825,
"h": 321.2
},
"luminance": 0.41045
}Semantic roles & 50–950 ramp
primary
#E28BF2
secondary
#DCF4D7
accent
#DC092A
background
#FEFAFF
surface
#FDF5FE
border
#D5CFD6
text
#161017
muted
#847F85