#E796EB#E796EB
#E796EB is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.3% C 0.146 H 325.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #E796EB |
|---|---|
| RGB | rgb(231, 150, 235) |
| HSL | hsl(297, 68%, 75%) |
| HSV | hsv(297, 36%, 92%) |
| CMYK | cmyk(1.7%, 36.2%, 0%, 7.8%) |
| CIE-LAB | lab(72.76, 43.58, -30.49) |
| CIE-LCH | lch(72.76, 53.19, 325.03°) |
| OKLab | oklab(78.27% 0.1196 -0.0831) |
| OKLCH | oklch(78.27% 0.146 325.2) |
| XYZ | xyz(58.8553, 44.8021, 84.1286) |
| Luminance | 0.4480 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.54
Violet (CSS)
#EE82EE
ΔE00 4.55
Plum
#DDA0DD
ΔE00 4.57
Purply Pink
#F075E6
ΔE00 6.83
Mauve
#E0B0FF
ΔE00 7.18
Baby Purple
#CA9BF7
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E796EB #9AEB96
analogous
#BC96EB #E796EB #EB96C5
triadic
#E796EB #EBE796 #96EBE7
tetradic
#E796EB #EBBC96 #9AEB96 #96C5EB
square
#E796EB #EBBC96 #9AEB96 #96C5EB
split-complementary
#E796EB #C5EB96 #96EBBC
monochromatic
#CF2FD7 #DB63E1 #E796EB #F3C9F5 #F9E5FA
Accessibility & contrast
On white
2.11
#E796EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#E796EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E796EB
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E796EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E796EB | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#A3B6E8
Tritanopia (blue-blind)
#EB9EB6
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #e796eb; /* rgb */ color: rgb(231, 150, 235); /* oklch */ color: oklch(78.3% 0.146 325.2);
Tailwind
colors: {
custom: {
50: '#f0b6f1',
500: '#e796eb',
950: '#000000',
},
}SCSS
$custom: #e796eb; $custom-light: #f0b6f1; $custom-dark: #000000;
JSON
{
"hex": "#e796eb",
"rgb": {
"r": 231,
"g": 150,
"b": 235
},
"hsl": {
"h": 297.176,
"s": 68,
"l": 75.49
},
"oklch": {
"l": 0.78269,
"c": 0.14564,
"h": 325.2
},
"luminance": 0.448
}Semantic roles & 50–950 ramp
primary
#E796EB
secondary
#DBF2D9
accent
#D0161E
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085