#E381F2#E381F2
#E381F2 is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.0% C 0.185 H 322.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #E381F2 |
|---|---|
| RGB | rgb(227, 129, 242) |
| HSL | hsl(292, 81%, 73%) |
| HSV | hsv(292, 47%, 95%) |
| CMYK | cmyk(6.2%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(68.35, 54.49, -41.21) |
| CIE-LCH | lch(68.35, 68.32, 322.90°) |
| OKLab | oklab(74.96% 0.1462 -0.1136) |
| OKLCH | oklch(74.96% 0.185 322.1) |
| XYZ | xyz(55.5541, 38.4445, 88.4814) |
| Luminance | 0.3844 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.42
Purply Pink
#F075E6
ΔE00 3.85
Lavender Pink
#DD85D7
ΔE00 4.99
Orchid
#DA70D6
ΔE00 5.39
Light Magenta
#FA5FF7
ΔE00 5.93
Violet Pink
#FB5FFC
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E381F2 #90F281
analogous
#AA81F2 #E381F2 #F281C9
triadic
#E381F2 #F2E381 #81F2E3
tetradic
#E381F2 #F2AA81 #90F281 #81C9F2
square
#E381F2 #F2AA81 #90F281 #81C9F2
split-complementary
#E381F2 #C9F281 #81F2AA
monochromatic
#C717E1 #D74AEC #E381F2 #EFB8F8 #F9E3FC
Accessibility & contrast
On white
2.42
#E381F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#E381F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E381F2
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E381F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E381F2 | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#E68FAE
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #e381f2; /* rgb */ color: rgb(227, 129, 242); /* oklch */ color: oklch(75.0% 0.185 322.1);
Tailwind
colors: {
custom: {
50: '#eea8f6',
500: '#e381f2',
950: '#000000',
},
}SCSS
$custom: #e381f2; $custom-light: #eea8f6; $custom-dark: #000000;
JSON
{
"hex": "#e381f2",
"rgb": {
"r": 227,
"g": 129,
"b": 242
},
"hsl": {
"h": 292.035,
"s": 81.295,
"l": 72.745
},
"oklch": {
"l": 0.7496,
"c": 0.18513,
"h": 322.1
},
"luminance": 0.38442
}Semantic roles & 50–950 ramp
primary
#E381F2
secondary
#DBF4D7
accent
#DE0824
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85