#E790FA#E790FA
#E790FA is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.0% C 0.171 H 320.3°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #E790FA |
|---|---|
| RGB | rgb(231, 144, 250) |
| HSL | hsl(289, 91%, 77%) |
| HSV | hsv(289, 42%, 98%) |
| CMYK | cmyk(7.6%, 42.4%, 0%, 2%) |
| CIE-LAB | lab(72.12, 49.52, -39.66) |
| CIE-LCH | lch(72.12, 63.44, 321.31°) |
| OKLab | oklab(77.99% 0.1313 -0.1092) |
| OKLCH | oklch(77.99% 0.171 320.3) |
| XYZ | xyz(60.1814, 43.8397, 95.7157) |
| Luminance | 0.4384 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.65
Lavender Pink
#DD85D7
ΔE00 5.94
Purply Pink
#F075E6
ΔE00 6.19
Baby Purple
#CA9BF7
ΔE00 6.29
Lilac (survey)
#CEA2FD
ΔE00 6.95
Liliac
#C48EFD
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E790FA #A3FA90
analogous
#B290FA #E790FA #FA90D8
triadic
#E790FA #FAE790 #90FAE7
tetradic
#E790FA #FAB290 #A3FA90 #90D8FA
square
#E790FA #FAB290 #A3FA90 #90D8FA
split-complementary
#E790FA #D8FA90 #90FAB2
monochromatic
#CE1BF5 #DA55F7 #E790FA #F4CBFD #F9E2FE
Accessibility & contrast
On white
2.15
#E790FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#E790FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E790FA
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E790FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E790FA | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81ABFE
Deuteranopia (green-blind)
#98B4F7
Tritanopia (blue-blind)
#E99DB9
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #e790fa; /* rgb */ color: rgb(231, 144, 250); /* oklch */ color: oklch(78.0% 0.171 320.3);
Tailwind
colors: {
custom: {
50: '#f0b2fc',
500: '#e790fa',
950: '#000000',
},
}SCSS
$custom: #e790fa; $custom-light: #f0b2fc; $custom-dark: #000000;
JSON
{
"hex": "#e790fa",
"rgb": {
"r": 231,
"g": 144,
"b": 250
},
"hsl": {
"h": 289.245,
"s": 91.379,
"l": 77.255
},
"oklch": {
"l": 0.77986,
"c": 0.17075,
"h": 320.3
},
"luminance": 0.43838
}Semantic roles & 50–950 ramp
primary
#E790FA
secondary
#DBF6D5
accent
#E60029
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085