#E792FD#E792FD
#E792FD is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.4% C 0.171 H 319.2°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #E792FD |
|---|---|
| RGB | rgb(231, 146, 253) |
| HSL | hsl(288, 96%, 78%) |
| HSV | hsv(288, 42%, 99%) |
| CMYK | cmyk(8.7%, 42.3%, 0%, 0.8%) |
| CIE-LAB | lab(72.65, 49.06, -40.46) |
| CIE-LCH | lch(72.65, 63.59, 320.49°) |
| OKLab | oklab(78.43% 0.129 -0.1115) |
| OKLCH | oklch(78.43% 0.171 319.2) |
| XYZ | xyz(60.9612, 44.6405, 98.3147) |
| Luminance | 0.4464 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.23
Baby Purple
#CA9BF7
ΔE00 5.99
Lavender Pink
#DD85D7
ΔE00 6.49
Lilac (survey)
#CEA2FD
ΔE00 6.54
Purply Pink
#F075E6
ΔE00 6.77
Liliac
#C48EFD
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E792FD #A8FD92
analogous
#B192FD #E792FD #FD92DD
triadic
#E792FD #FDE792 #92FDE7
tetradic
#E792FD #FDB192 #A8FD92 #92DDFD
square
#E792FD #FDB192 #A8FD92 #92DDFD
split-complementary
#E792FD #DDFD92 #92FDB1
monochromatic
#CD1AFB #DA56FC #E792FD #F4CEFE #F8E1FE
Accessibility & contrast
On white
2.12
#E792FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#E792FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E792FD
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E792FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E792FD | 1.00 | 2.12 | 9.93 | 9.93 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#99B5FA
Tritanopia (blue-blind)
#E8A0BC
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #e792fd; /* rgb */ color: rgb(231, 146, 253); /* oklch */ color: oklch(78.4% 0.171 319.2);
Tailwind
colors: {
custom: {
50: '#f0b4fe',
500: '#e792fd',
950: '#000000',
},
}SCSS
$custom: #e792fd; $custom-light: #f0b4fe; $custom-dark: #000000;
JSON
{
"hex": "#e792fd",
"rgb": {
"r": 231,
"g": 146,
"b": 253
},
"hsl": {
"h": 287.664,
"s": 96.396,
"l": 78.235
},
"oklch": {
"l": 0.78427,
"c": 0.17053,
"h": 319.2
},
"luminance": 0.44639
}Semantic roles & 50–950 ramp
primary
#E792FD
secondary
#DBF7D4
accent
#E6002F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086