#E381FC#E381FC
#E381FC is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.4% C 0.195 H 319.2°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #E381FC |
|---|---|
| RGB | rgb(227, 129, 252) |
| HSL | hsl(288, 95%, 75%) |
| HSV | hsv(288, 49%, 99%) |
| CMYK | cmyk(9.9%, 48.8%, 0%, 1.2%) |
| CIE-LAB | lab(68.80, 56.39, -45.98) |
| CIE-LCH | lch(68.80, 72.76, 320.80°) |
| OKLab | oklab(75.44% 0.1476 -0.1274) |
| OKLCH | oklch(75.44% 0.195 319.2) |
| XYZ | xyz(57.0972, 39.0618, 96.6086) |
| Luminance | 0.3906 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.74
Purply Pink
#F075E6
ΔE00 5.11
Violet Pink
#FB5FFC
ΔE00 5.96
Light Magenta
#FA5FF7
ΔE00 6.11
Liliac
#C48EFD
ΔE00 6.50
Lavender Pink
#DD85D7
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E381FC #9AFC81
analogous
#A681FC #E381FC #FC81D7
triadic
#E381FC #FCE381 #81FCE3
tetradic
#E381FC #FCA681 #9AFC81 #81D7FC
square
#E381FC #FCA681 #9AFC81 #81D7FC
split-complementary
#E381FC #D7FC81 #81FCA6
monochromatic
#C809F9 #D645FB #E381FC #F0BDFD #F8E1FE
Accessibility & contrast
On white
2.38
#E381FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#E381FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E381FC
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E381FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E381FC | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#89ABF9
Tritanopia (blue-blind)
#E492B3
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #e381fc; /* rgb */ color: rgb(227, 129, 252); /* oklch */ color: oklch(75.4% 0.195 319.2);
Tailwind
colors: {
custom: {
50: '#eea8fe',
500: '#e381fc',
950: '#000000',
},
}SCSS
$custom: #e381fc; $custom-light: #eea8fe; $custom-dark: #000000;
JSON
{
"hex": "#e381fc",
"rgb": {
"r": 227,
"g": 129,
"b": 252
},
"hsl": {
"h": 287.805,
"s": 95.349,
"l": 74.706
},
"oklch": {
"l": 0.7544,
"c": 0.19494,
"h": 319.2
},
"luminance": 0.3906
}Semantic roles & 50–950 ramp
primary
#E381FC
secondary
#DBF7D4
accent
#E6002F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86