#E792FC#E792FC
#E792FC is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.4% C 0.169 H 319.5°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #E792FC |
|---|---|
| RGB | rgb(231, 146, 252) |
| HSL | hsl(288, 95%, 78%) |
| HSV | hsv(288, 42%, 99%) |
| CMYK | cmyk(8.3%, 42.1%, 0%, 1.2%) |
| CIE-LAB | lab(72.61, 48.87, -39.98) |
| CIE-LCH | lch(72.61, 63.14, 320.72°) |
| OKLab | oklab(78.38% 0.1289 -0.1101) |
| OKLCH | oklch(78.38% 0.169 319.5) |
| XYZ | xyz(60.8023, 44.5770, 97.4779) |
| Luminance | 0.4457 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.13
Baby Purple
#CA9BF7
ΔE00 6.02
Lavender Pink
#DD85D7
ΔE00 6.34
Lilac (survey)
#CEA2FD
ΔE00 6.59
Purply Pink
#F075E6
ΔE00 6.68
Liliac
#C48EFD
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E792FC #A7FC92
analogous
#B292FC #E792FC #FC92DC
triadic
#E792FC #FCE792 #92FCE7
tetradic
#E792FC #FCB292 #A7FC92 #92DCFC
square
#E792FC #FCB292 #A7FC92 #92DCFC
split-complementary
#E792FC #DCFC92 #92FCB2
monochromatic
#CD1BF9 #DA56FA #E792FC #F4CEFE #F8E1FE
Accessibility & contrast
On white
2.12
#E792FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#E792FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E792FC
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E792FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E792FC | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#99B5F9
Tritanopia (blue-blind)
#E89FBB
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #e792fc; /* rgb */ color: rgb(231, 146, 252); /* oklch */ color: oklch(78.4% 0.169 319.5);
Tailwind
colors: {
custom: {
50: '#f0b4fd',
500: '#e792fc',
950: '#000000',
},
}SCSS
$custom: #e792fc; $custom-light: #f0b4fd; $custom-dark: #000000;
JSON
{
"hex": "#e792fc",
"rgb": {
"r": 231,
"g": 146,
"b": 252
},
"hsl": {
"h": 288.113,
"s": 94.643,
"l": 78.039
},
"oklch": {
"l": 0.78381,
"c": 0.16949,
"h": 319.5
},
"luminance": 0.44575
}Semantic roles & 50–950 ramp
primary
#E792FC
secondary
#DBF6D5
accent
#E6002D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085