#E381F7#E381F7
#E381F7 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.2% C 0.190 H 320.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #E381F7 |
|---|---|
| RGB | rgb(227, 129, 247) |
| HSL | hsl(290, 88%, 74%) |
| HSV | hsv(290, 48%, 97%) |
| CMYK | cmyk(8.1%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(68.57, 55.43, -43.60) |
| CIE-LCH | lch(68.57, 70.53, 321.81°) |
| OKLab | oklab(75.2% 0.1469 -0.1205) |
| OKLCH | oklch(75.2% 0.19 320.6) |
| XYZ | xyz(56.3153, 38.7490, 92.4905) |
| Luminance | 0.3875 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.05
Purply Pink
#F075E6
ΔE00 4.46
Lavender Pink
#DD85D7
ΔE00 5.81
Violet Pink
#FB5FFC
ΔE00 5.90
Light Magenta
#FA5FF7
ΔE00 5.96
Orchid
#DA70D6
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E381F7 #95F781
analogous
#A881F7 #E381F7 #F781D0
triadic
#E381F7 #F7E381 #81F7E3
tetradic
#E381F7 #F7A881 #95F781 #81D0F7
square
#E381F7 #F7A881 #95F781 #81D0F7
split-complementary
#E381F7 #D0F781 #81F7A8
monochromatic
#C90FEE #D647F3 #E381F7 #F0BBFB #F9E2FD
Accessibility & contrast
On white
2.40
#E381F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#E381F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E381F7
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E381F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E381F7 | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA0FB
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#E591B1
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #e381f7; /* rgb */ color: rgb(227, 129, 247); /* oklch */ color: oklch(75.2% 0.190 320.6);
Tailwind
colors: {
custom: {
50: '#eea8fa',
500: '#e381f7',
950: '#000000',
},
}SCSS
$custom: #e381f7; $custom-light: #eea8fa; $custom-dark: #000000;
JSON
{
"hex": "#e381f7",
"rgb": {
"r": 227,
"g": 129,
"b": 247
},
"hsl": {
"h": 289.831,
"s": 88.06,
"l": 73.725
},
"oklch": {
"l": 0.75197,
"c": 0.19001,
"h": 320.6
},
"luminance": 0.38747
}Semantic roles & 50–950 ramp
primary
#E381F7
secondary
#DBF5D6
accent
#E50127
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85