#E797E2#E797E2
#E797E2 is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.1% C 0.135 H 329.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #E797E2 |
|---|---|
| RGB | rgb(231, 151, 226) |
| HSL | hsl(304, 63%, 75%) |
| HSV | hsv(304, 35%, 91%) |
| CMYK | cmyk(0%, 34.6%, 2.2%, 9.4%) |
| CIE-LAB | lab(72.64, 41.42, -25.75) |
| CIE-LCH | lch(72.64, 48.77, 328.13°) |
| OKLab | oklab(78.07% 0.1159 -0.0698) |
| OKLCH | oklch(78.07% 0.135 329) |
| XYZ | xyz(57.7481, 44.6156, 77.5066) |
| Luminance | 0.4461 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.36
Lavender Pink
#DD85D7
ΔE00 4.37
Violet (CSS)
#EE82EE
ΔE00 5.64
Bubblegum Pink
#FE83CC
ΔE00 7.37
Purply Pink
#F075E6
ΔE00 7.46
Mauve
#E0B0FF
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E797E2 #97E79C
analogous
#C497E7 #E797E2 #E797BA
triadic
#E797E2 #E2E797 #97E2E7
tetradic
#E797E2 #E7C497 #97E79C #97BAE7
square
#E797E2 #E7C497 #97E79C #97BAE7
split-complementary
#E797E2 #BAE797 #97E7C4
monochromatic
#D034C6 #DC65D4 #E797E2 #F2C9F0 #F9E6F8
Accessibility & contrast
On white
2.12
#E797E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#E797E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E797E2
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E797E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E797E2 | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93ACE5
Deuteranopia (green-blind)
#A7B6DF
Tritanopia (blue-blind)
#ED9DB3
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #e797e2; /* rgb */ color: rgb(231, 151, 226); /* oklch */ color: oklch(78.1% 0.135 329.0);
Tailwind
colors: {
custom: {
50: '#f0b7eb',
500: '#e797e2',
950: '#000000',
},
}SCSS
$custom: #e797e2; $custom-light: #f0b7eb; $custom-dark: #000000;
JSON
{
"hex": "#e797e2",
"rgb": {
"r": 231,
"g": 151,
"b": 226
},
"hsl": {
"h": 303.75,
"s": 62.5,
"l": 74.902
},
"oklch": {
"l": 0.78066,
"c": 0.1353,
"h": 329
},
"luminance": 0.44613
}Semantic roles & 50–950 ramp
primary
#E797E2
secondary
#DAF1DC
accent
#CA261B
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084