#E28CF3#E28CF3
#E28CF3 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.5% C 0.168 H 320.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #E28CF3 |
|---|---|
| RGB | rgb(226, 140, 243) |
| HSL | hsl(290, 81%, 75%) |
| HSV | hsv(290, 42%, 95%) |
| CMYK | cmyk(7%, 42.4%, 0%, 4.7%) |
| CIE-LAB | lab(70.45, 48.80, -38.48) |
| CIE-LCH | lch(70.45, 62.14, 321.74°) |
| OKLab | oklab(76.52% 0.1299 -0.1059) |
| OKLCH | oklch(76.52% 0.168 320.8) |
| XYZ | xyz(56.9178, 41.3980, 89.7691) |
| Luminance | 0.4140 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.08
Lavender Pink
#DD85D7
ΔE00 4.88
Purply Pink
#F075E6
ΔE00 5.43
Baby Purple
#CA9BF7
ΔE00 6.35
Liliac
#C48EFD
ΔE00 6.74
Orchid
#DA70D6
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E28CF3 #9DF38C
analogous
#AE8CF3 #E28CF3 #F38CD1
triadic
#E28CF3 #F3E28C #8CF3E2
tetradic
#E28CF3 #F3AE8C #9DF38C #8CD1F3
square
#E28CF3 #F3AE8C #9DF38C #8CD1F3
split-complementary
#E28CF3 #D1F38C #8CF3AE
monochromatic
#C61DE7 #D455ED #E28CF3 #F0C3F9 #F8E3FC
Accessibility & contrast
On white
2.26
#E28CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#E28CF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E28CF3
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E28CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E28CF3 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA6F7
Deuteranopia (green-blind)
#95B0F0
Tritanopia (blue-blind)
#E499B4
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #e28cf3; /* rgb */ color: rgb(226, 140, 243); /* oklch */ color: oklch(76.5% 0.168 320.8);
Tailwind
colors: {
custom: {
50: '#edaff7',
500: '#e28cf3',
950: '#000000',
},
}SCSS
$custom: #e28cf3; $custom-light: #edaff7; $custom-dark: #000000;
JSON
{
"hex": "#e28cf3",
"rgb": {
"r": 226,
"g": 140,
"b": 243
},
"hsl": {
"h": 290.097,
"s": 81.102,
"l": 75.098
},
"oklch": {
"l": 0.76519,
"c": 0.1676,
"h": 320.8
},
"luminance": 0.41396
}Semantic roles & 50–950 ramp
primary
#E28CF3
secondary
#DCF4D7
accent
#DD082B
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085