#E28CF2#E28CF2
#E28CF2 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.5% C 0.167 H 321.2°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #E28CF2 |
|---|---|
| RGB | rgb(226, 140, 242) |
| HSL | hsl(291, 80%, 75%) |
| HSV | hsv(291, 42%, 95%) |
| CMYK | cmyk(6.6%, 42.1%, 0%, 5.1%) |
| CIE-LAB | lab(70.41, 48.61, -38.00) |
| CIE-LCH | lch(70.41, 61.70, 321.98°) |
| OKLab | oklab(76.47% 0.1298 -0.1045) |
| OKLCH | oklch(76.47% 0.167 321.2) |
| XYZ | xyz(56.7672, 41.3378, 88.9759) |
| Luminance | 0.4134 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.01
Lavender Pink
#DD85D7
ΔE00 4.71
Purply Pink
#F075E6
ΔE00 5.36
Baby Purple
#CA9BF7
ΔE00 6.42
Liliac
#C48EFD
ΔE00 6.86
Orchid
#DA70D6
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E28CF2 #9CF28C
analogous
#AF8CF2 #E28CF2 #F28CCF
triadic
#E28CF2 #F2E28C #8CF2E2
tetradic
#E28CF2 #F2AF8C #9CF28C #8CCFF2
square
#E28CF2 #F2AF8C #9CF28C #8CCFF2
split-complementary
#E28CF2 #CFF28C #8CF2AF
monochromatic
#C61EE6 #D455EC #E28CF2 #F0C3F8 #F8E4FC
Accessibility & contrast
On white
2.27
#E28CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#E28CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E28CF2
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E28CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E28CF2 | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#95B0EF
Tritanopia (blue-blind)
#E498B4
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #e28cf2; /* rgb */ color: rgb(226, 140, 242); /* oklch */ color: oklch(76.5% 0.167 321.2);
Tailwind
colors: {
custom: {
50: '#edaff6',
500: '#e28cf2',
950: '#000000',
},
}SCSS
$custom: #e28cf2; $custom-light: #edaff6; $custom-dark: #000000;
JSON
{
"hex": "#e28cf2",
"rgb": {
"r": 226,
"g": 140,
"b": 242
},
"hsl": {
"h": 290.588,
"s": 79.687,
"l": 74.902
},
"oklch": {
"l": 0.76474,
"c": 0.16659,
"h": 321.2
},
"luminance": 0.41336
}Semantic roles & 50–950 ramp
primary
#E28CF2
secondary
#DCF4D7
accent
#DC0A2B
background
#FEFAFF
surface
#FDF5FE
border
#D5CFD6
text
#161117
muted
#848085