#E792FE#E792FE
#E792FE is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.5% C 0.172 H 318.9°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E792FE |
|---|---|
| RGB | rgb(231, 146, 254) |
| HSL | hsl(287, 98%, 78%) |
| HSV | hsv(287, 43%, 100%) |
| CMYK | cmyk(9.1%, 42.5%, 0%, 0.4%) |
| CIE-LAB | lab(72.70, 49.26, -40.93) |
| CIE-LCH | lch(72.70, 64.05, 320.27°) |
| OKLab | oklab(78.47% 0.1292 -0.1128) |
| OKLCH | oklch(78.47% 0.172 318.9) |
| XYZ | xyz(61.1209, 44.7044, 99.1559) |
| Luminance | 0.4470 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.33
Baby Purple
#CA9BF7
ΔE00 5.95
Lilac (survey)
#CEA2FD
ΔE00 6.50
Lavender Pink
#DD85D7
ΔE00 6.64
Liliac
#C48EFD
ΔE00 6.69
Purply Pink
#F075E6
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E792FE #A9FE92
analogous
#B192FE #E792FE #FE92DF
triadic
#E792FE #FEE792 #92FEE7
tetradic
#E792FE #FEB192 #A9FE92 #92DFFE
square
#E792FE #FEB192 #A9FE92 #92DFFE
split-complementary
#E792FE #DFFE92 #92FEB1
monochromatic
#CC19FD #DA55FD #E792FE #F4CFFF #F8E1FF
Accessibility & contrast
On white
2.11
#E792FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#E792FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E792FE
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E792FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E792FE | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81ADFF
Deuteranopia (green-blind)
#98B5FB
Tritanopia (blue-blind)
#E8A0BC
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #e792fe; /* rgb */ color: rgb(231, 146, 254); /* oklch */ color: oklch(78.5% 0.172 318.9);
Tailwind
colors: {
custom: {
50: '#f0b4ff',
500: '#e792fe',
950: '#000000',
},
}SCSS
$custom: #e792fe; $custom-light: #f0b4ff; $custom-dark: #000000;
JSON
{
"hex": "#e792fe",
"rgb": {
"r": 231,
"g": 146,
"b": 254
},
"hsl": {
"h": 287.222,
"s": 98.182,
"l": 78.431
},
"oklch": {
"l": 0.78472,
"c": 0.17155,
"h": 318.9
},
"luminance": 0.44702
}Semantic roles & 50–950 ramp
primary
#E792FE
secondary
#DBF7D4
accent
#E60031
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086