#E796F9#E796F9
#E796F9 is a light, vivid purple. Relative luminance 0.456; OKLCH L 78.9% C 0.160 H 320.2°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #E796F9 |
|---|---|
| RGB | rgb(231, 150, 249) |
| HSL | hsl(289, 89%, 78%) |
| HSV | hsv(289, 40%, 98%) |
| CMYK | cmyk(7.2%, 39.8%, 0%, 2.4%) |
| CIE-LAB | lab(73.31, 46.22, -37.26) |
| CIE-LCH | lch(73.31, 59.37, 321.13°) |
| OKLab | oklab(78.87% 0.1227 -0.1023) |
| OKLCH | oklch(78.87% 0.16 320.2) |
| XYZ | xyz(60.9581, 45.6432, 95.2031) |
| Luminance | 0.4564 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.57
Baby Purple
#CA9BF7
ΔE00 5.89
Lavender Pink
#DD85D7
ΔE00 6.18
Lilac (survey)
#CEA2FD
ΔE00 6.29
Mauve
#E0B0FF
ΔE00 6.61
Plum
#DDA0DD
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E796F9 #A8F996
analogous
#B596F9 #E796F9 #F996D9
triadic
#E796F9 #F9E796 #96F9E7
tetradic
#E796F9 #F9B596 #A8F996 #96D9F9
square
#E796F9 #F9B596 #A8F996 #96D9F9
split-complementary
#E796F9 #D9F996 #96F9B5
monochromatic
#CD22F2 #DA5CF6 #E796F9 #F4D0FC #F8E2FD
Accessibility & contrast
On white
2.07
#E796F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.13
#E796F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E796F9
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E796F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E796F9 | 1.00 | 2.07 | 10.13 | 10.13 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89AEFD
Deuteranopia (green-blind)
#9EB7F6
Tritanopia (blue-blind)
#E8A2BC
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #e796f9; /* rgb */ color: rgb(231, 150, 249); /* oklch */ color: oklch(78.9% 0.160 320.2);
Tailwind
colors: {
custom: {
50: '#f0b6fb',
500: '#e796f9',
950: '#000000',
},
}SCSS
$custom: #e796f9; $custom-light: #f0b6fb; $custom-dark: #000000;
JSON
{
"hex": "#e796f9",
"rgb": {
"r": 231,
"g": 150,
"b": 249
},
"hsl": {
"h": 289.091,
"s": 89.189,
"l": 78.235
},
"oklch": {
"l": 0.78866,
"c": 0.15975,
"h": 320.2
},
"luminance": 0.45641
}Semantic roles & 50–950 ramp
primary
#E796F9
secondary
#DBF5D6
accent
#E6002A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085