#E796FE#E796FE
#E796FE is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.1% C 0.165 H 318.5°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #E796FE |
|---|---|
| RGB | rgb(231, 150, 254) |
| HSL | hsl(287, 98%, 79%) |
| HSV | hsv(287, 41%, 100%) |
| CMYK | cmyk(9.1%, 40.9%, 0%, 0.4%) |
| CIE-LAB | lab(73.52, 47.19, -39.65) |
| CIE-LCH | lch(73.52, 61.63, 319.96°) |
| OKLab | oklab(79.09% 0.1236 -0.1092) |
| OKLCH | oklch(79.09% 0.165 318.5) |
| XYZ | xyz(61.7483, 45.9593, 99.3650) |
| Luminance | 0.4596 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.93
Baby Purple
#CA9BF7
ΔE00 5.63
Lilac (survey)
#CEA2FD
ΔE00 5.99
Pastel Purple
#CAA0FF
ΔE00 6.58
Mauve
#E0B0FF
ΔE00 6.64
Lavender (survey)
#C79FEF
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E796FE #ADFE96
analogous
#B396FE #E796FE #FE96E1
triadic
#E796FE #FEE796 #96FEE7
tetradic
#E796FE #FEB396 #ADFE96 #96E1FE
square
#E796FE #FEB396 #ADFE96 #96E1FE
split-complementary
#E796FE #E1FE96 #96FEB3
monochromatic
#CB1DFD #D959FD #E796FE #F5D3FF #F8E1FF
Accessibility & contrast
On white
2.06
#E796FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#E796FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E796FE
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E796FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E796FE | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#9BB7FB
Tritanopia (blue-blind)
#E7A3BE
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #e796fe; /* rgb */ color: rgb(231, 150, 254); /* oklch */ color: oklch(79.1% 0.165 318.5);
Tailwind
colors: {
custom: {
50: '#f0b6ff',
500: '#e796fe',
950: '#000000',
},
}SCSS
$custom: #e796fe; $custom-light: #f0b6ff; $custom-dark: #000000;
JSON
{
"hex": "#e796fe",
"rgb": {
"r": 231,
"g": 150,
"b": 254
},
"hsl": {
"h": 286.731,
"s": 98.113,
"l": 79.216
},
"oklch": {
"l": 0.79088,
"c": 0.16495,
"h": 318.5
},
"luminance": 0.45957
}Semantic roles & 50–950 ramp
primary
#E796FE
secondary
#DCF7D4
accent
#E60033
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086