#E981F6#E981F6
#E981F6 is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.8% C 0.192 H 323.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E981F6 |
|---|---|
| RGB | rgb(233, 129, 246) |
| HSL | hsl(293, 87%, 74%) |
| HSV | hsv(293, 48%, 96%) |
| CMYK | cmyk(5.3%, 47.6%, 0%, 3.5%) |
| CIE-LAB | lab(69.24, 56.89, -41.95) |
| CIE-LCH | lch(69.24, 70.69, 323.59°) |
| OKLab | oklab(75.83% 0.1536 -0.1156) |
| OKLCH | oklch(75.83% 0.192 323) |
| XYZ | xyz(58.0874, 39.6806, 91.7703) |
| Luminance | 0.3968 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.01
Purply Pink
#F075E6
ΔE00 3.67
Lavender Pink
#DD85D7
ΔE00 5.43
Violet Pink
#FB5FFC
ΔE00 5.57
Light Magenta
#FA5FF7
ΔE00 5.58
Orchid
#DA70D6
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E981F6 #8EF681
analogous
#AE81F6 #E981F6 #F681C8
triadic
#E981F6 #F6E981 #81F6E9
tetradic
#E981F6 #F6AE81 #8EF681 #81C8F6
square
#E981F6 #F6AE81 #8EF681 #81C8F6
split-complementary
#E981F6 #C8F681 #81F6AE
monochromatic
#D311EC #DF48F2 #E981F6 #F3BAFA #FAE2FD
Accessibility & contrast
On white
2.35
#E981F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#E981F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E981F6
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E981F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E981F6 | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71A1FA
Deuteranopia (green-blind)
#90ADF3
Tritanopia (blue-blind)
#EC8FB0
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #e981f6; /* rgb */ color: rgb(233, 129, 246); /* oklch */ color: oklch(75.8% 0.192 323.0);
Tailwind
colors: {
custom: {
50: '#f2a9f9',
500: '#e981f6',
950: '#000000',
},
}SCSS
$custom: #e981f6; $custom-light: #f2a9f9; $custom-dark: #000000;
JSON
{
"hex": "#e981f6",
"rgb": {
"r": 233,
"g": 129,
"b": 246
},
"hsl": {
"h": 293.333,
"s": 86.667,
"l": 73.529
},
"oklch": {
"l": 0.75835,
"c": 0.19222,
"h": 323
},
"luminance": 0.39678
}Semantic roles & 50–950 ramp
primary
#E981F6
secondary
#D9F5D6
accent
#E3021B
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85