#E792FB#E792FB
#E792FB is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.3% C 0.168 H 319.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #E792FB |
|---|---|
| RGB | rgb(231, 146, 251) |
| HSL | hsl(289, 93%, 78%) |
| HSV | hsv(289, 42%, 98%) |
| CMYK | cmyk(8%, 41.8%, 0%, 1.6%) |
| CIE-LAB | lab(72.57, 48.68, -39.50) |
| CIE-LCH | lch(72.57, 62.69, 320.94°) |
| OKLab | oklab(78.34% 0.1287 -0.1087) |
| OKLCH | oklch(78.34% 0.168 319.8) |
| XYZ | xyz(60.6443, 44.5138, 96.6456) |
| Luminance | 0.4451 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.04
Baby Purple
#CA9BF7
ΔE00 6.07
Lavender Pink
#DD85D7
ΔE00 6.18
Purply Pink
#F075E6
ΔE00 6.60
Lilac (survey)
#CEA2FD
ΔE00 6.64
Liliac
#C48EFD
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E792FB #A6FB92
analogous
#B292FB #E792FB #FB92DB
triadic
#E792FB #FBE792 #92FBE7
tetradic
#E792FB #FBB292 #A6FB92 #92DBFB
square
#E792FB #FBB292 #A6FB92 #92DBFB
split-complementary
#E792FB #DBFB92 #92FBB2
monochromatic
#CD1CF7 #DA57F9 #E792FB #F4CDFD #F9E1FE
Accessibility & contrast
On white
2.12
#E792FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#E792FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E792FB
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E792FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E792FB | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#9AB5F8
Tritanopia (blue-blind)
#E89FBB
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #e792fb; /* rgb */ color: rgb(231, 146, 251); /* oklch */ color: oklch(78.3% 0.168 319.8);
Tailwind
colors: {
custom: {
50: '#f0b4fd',
500: '#e792fb',
950: '#000000',
},
}SCSS
$custom: #e792fb; $custom-light: #f0b4fd; $custom-dark: #000000;
JSON
{
"hex": "#e792fb",
"rgb": {
"r": 231,
"g": 146,
"b": 251
},
"hsl": {
"h": 288.571,
"s": 92.92,
"l": 77.843
},
"oklch": {
"l": 0.78336,
"c": 0.16846,
"h": 319.8
},
"luminance": 0.44512
}Semantic roles & 50–950 ramp
primary
#E792FB
secondary
#DBF6D5
accent
#E6002C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085