#E792F8#E792F8
#E792F8 is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.2% C 0.165 H 320.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #E792F8 |
|---|---|
| RGB | rgb(231, 146, 248) |
| HSL | hsl(290, 88%, 77%) |
| HSV | hsv(290, 41%, 97%) |
| CMYK | cmyk(6.9%, 41.1%, 0%, 2.7%) |
| CIE-LAB | lab(72.45, 48.10, -38.06) |
| CIE-LCH | lch(72.45, 61.34, 321.65°) |
| OKLab | oklab(78.2% 0.1281 -0.1046) |
| OKLCH | oklch(78.2% 0.165 320.8) |
| XYZ | xyz(60.1751, 44.3261, 94.1747) |
| Luminance | 0.4432 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.80
Lavender Pink
#DD85D7
ΔE00 5.73
Baby Purple
#CA9BF7
ΔE00 6.23
Purply Pink
#F075E6
ΔE00 6.38
Lilac (survey)
#CEA2FD
ΔE00 6.82
Plum
#DDA0DD
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E792F8 #A3F892
analogous
#B492F8 #E792F8 #F892D6
triadic
#E792F8 #F8E792 #92F8E7
tetradic
#E792F8 #F8B492 #A3F892 #92D6F8
square
#E792F8 #F8B492 #A3F892 #92D6F8
split-complementary
#E792F8 #D6F892 #92F8B4
monochromatic
#CE1FF1 #DA58F4 #E792F8 #F4CCFC #F9E2FD
Accessibility & contrast
On white
2.13
#E792F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#E792F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E792F8
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E792F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E792F8 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84ACFC
Deuteranopia (green-blind)
#9BB5F5
Tritanopia (blue-blind)
#E99EB9
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #e792f8; /* rgb */ color: rgb(231, 146, 248); /* oklch */ color: oklch(78.2% 0.165 320.8);
Tailwind
colors: {
custom: {
50: '#f0b4fb',
500: '#e792f8',
950: '#000000',
},
}SCSS
$custom: #e792f8; $custom-light: #f0b4fb; $custom-dark: #000000;
JSON
{
"hex": "#e792f8",
"rgb": {
"r": 231,
"g": 146,
"b": 248
},
"hsl": {
"h": 290,
"s": 87.931,
"l": 77.255
},
"oklch": {
"l": 0.78202,
"c": 0.16541,
"h": 320.8
},
"luminance": 0.44324
}Semantic roles & 50–950 ramp
primary
#E792F8
secondary
#DBF5D6
accent
#E50127
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085