#E281F2#E281F2
#E281F2 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.8% C 0.185 H 321.8°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #E281F2 |
|---|---|
| RGB | rgb(226, 129, 242) |
| HSL | hsl(292, 81%, 73%) |
| HSV | hsv(292, 47%, 95%) |
| CMYK | cmyk(6.6%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(68.23, 54.21, -41.40) |
| CIE-LCH | lch(68.23, 68.21, 322.63°) |
| OKLab | oklab(74.85% 0.145 -0.1142) |
| OKLCH | oklch(74.85% 0.185 321.8) |
| XYZ | xyz(55.2395, 38.2823, 88.4667) |
| Luminance | 0.3828 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.60
Purply Pink
#F075E6
ΔE00 3.98
Lavender Pink
#DD85D7
ΔE00 5.05
Orchid
#DA70D6
ΔE00 5.39
Light Magenta
#FA5FF7
ΔE00 6.00
Violet Pink
#FB5FFC
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E281F2 #91F281
analogous
#A981F2 #E281F2 #F281CA
triadic
#E281F2 #F2E281 #81F2E2
tetradic
#E281F2 #F2A981 #91F281 #81CAF2
square
#E281F2 #F2A981 #91F281 #81CAF2
split-complementary
#E281F2 #CAF281 #81F2A9
monochromatic
#C517E1 #D54AEC #E281F2 #EFB8F8 #F9E3FC
Accessibility & contrast
On white
2.43
#E281F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.66
#E281F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E281F2
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E281F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E281F2 | 1.00 | 2.43 | 8.66 | 8.66 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#8DAAEF
Tritanopia (blue-blind)
#E48FAE
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #e281f2; /* rgb */ color: rgb(226, 129, 242); /* oklch */ color: oklch(74.8% 0.185 321.8);
Tailwind
colors: {
custom: {
50: '#eda8f6',
500: '#e281f2',
950: '#000000',
},
}SCSS
$custom: #e281f2; $custom-light: #eda8f6; $custom-dark: #000000;
JSON
{
"hex": "#e281f2",
"rgb": {
"r": 226,
"g": 129,
"b": 242
},
"hsl": {
"h": 291.504,
"s": 81.295,
"l": 72.745
},
"oklch": {
"l": 0.74846,
"c": 0.18459,
"h": 321.8
},
"luminance": 0.3828
}Semantic roles & 50–950 ramp
primary
#E281F2
secondary
#DBF4D7
accent
#DE0826
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85