#E781F9#E781F9
#E781F9 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.7% C 0.194 H 321.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #E781F9 |
|---|---|
| RGB | rgb(231, 129, 249) |
| HSL | hsl(291, 91%, 74%) |
| HSV | hsv(291, 48%, 98%) |
| CMYK | cmyk(7.2%, 48.2%, 0%, 2.4%) |
| CIE-LAB | lab(69.13, 56.90, -43.78) |
| CIE-LCH | lch(69.13, 71.79, 322.43°) |
| OKLab | oklab(75.75% 0.1517 -0.1209) |
| OKLCH | oklch(75.75% 0.194 321.4) |
| XYZ | xyz(57.9022, 39.5314, 94.1845) |
| Luminance | 0.3953 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.74
Purply Pink
#F075E6
ΔE00 4.26
Violet Pink
#FB5FFC
ΔE00 5.64
Light Magenta
#FA5FF7
ΔE00 5.72
Lavender Pink
#DD85D7
ΔE00 5.95
Orchid
#DA70D6
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E781F9 #93F981
analogous
#AB81F9 #E781F9 #F981CF
triadic
#E781F9 #F9E781 #81F9E7
tetradic
#E781F9 #F9AB81 #93F981 #81CFF9
square
#E781F9 #F9AB81 #93F981 #81CFF9
split-complementary
#E781F9 #CFF981 #81F9AB
monochromatic
#D10CF3 #DC47F6 #E781F9 #F2BBFC #F9E2FE
Accessibility & contrast
On white
2.36
#E781F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#E781F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E781F9
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E781F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E781F9 | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA1FD
Deuteranopia (green-blind)
#8DADF6
Tritanopia (blue-blind)
#E991B2
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #e781f9; /* rgb */ color: rgb(231, 129, 249); /* oklch */ color: oklch(75.7% 0.194 321.4);
Tailwind
colors: {
custom: {
50: '#f1a9fb',
500: '#e781f9',
950: '#000000',
},
}SCSS
$custom: #e781f9; $custom-light: #f1a9fb; $custom-dark: #000000;
JSON
{
"hex": "#e781f9",
"rgb": {
"r": 231,
"g": 129,
"b": 249
},
"hsl": {
"h": 291,
"s": 90.909,
"l": 74.118
},
"oklch": {
"l": 0.75748,
"c": 0.19402,
"h": 321.4
},
"luminance": 0.39529
}Semantic roles & 50–950 ramp
primary
#E781F9
secondary
#DAF6D5
accent
#E60022
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85