#E798E2#E798E2
#E798E2 is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.2% C 0.134 H 329.0°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #E798E2 |
|---|---|
| RGB | rgb(231, 152, 226) |
| HSL | hsl(304, 62%, 75%) |
| HSV | hsv(304, 34%, 91%) |
| CMYK | cmyk(0%, 34.2%, 2.2%, 9.4%) |
| CIE-LAB | lab(72.85, 40.90, -25.42) |
| CIE-LCH | lch(72.85, 48.16, 328.13°) |
| OKLab | oklab(78.23% 0.1145 -0.0688) |
| OKLCH | oklch(78.23% 0.134 329) |
| XYZ | xyz(57.9097, 44.9388, 77.5604) |
| Luminance | 0.4494 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.16
Lavender Pink
#DD85D7
ΔE00 4.59
Violet (CSS)
#EE82EE
ΔE00 5.88
Bubblegum Pink
#FE83CC
ΔE00 7.46
Purply Pink
#F075E6
ΔE00 7.71
Mauve
#E0B0FF
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E798E2 #98E79D
analogous
#C498E7 #E798E2 #E798BB
triadic
#E798E2 #E2E798 #98E2E7
tetradic
#E798E2 #E7C498 #98E79D #98BBE7
square
#E798E2 #E7C498 #98E79D #98BBE7
split-complementary
#E798E2 #BBE798 #98E7C4
monochromatic
#D035C6 #DB66D4 #E798E2 #F3CAF0 #F9E6F8
Accessibility & contrast
On white
2.10
#E798E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#E798E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E798E2
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E798E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E798E2 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94ACE5
Deuteranopia (green-blind)
#A8B7DF
Tritanopia (blue-blind)
#ED9EB3
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #e798e2; /* rgb */ color: rgb(231, 152, 226); /* oklch */ color: oklch(78.2% 0.134 329.0);
Tailwind
colors: {
custom: {
50: '#f0b7eb',
500: '#e798e2',
950: '#000000',
},
}SCSS
$custom: #e798e2; $custom-light: #f0b7eb; $custom-dark: #000000;
JSON
{
"hex": "#e798e2",
"rgb": {
"r": 231,
"g": 152,
"b": 226
},
"hsl": {
"h": 303.797,
"s": 62.205,
"l": 75.098
},
"oklch": {
"l": 0.78227,
"c": 0.13356,
"h": 329
},
"luminance": 0.44936
}Semantic roles & 50–950 ramp
primary
#E798E2
secondary
#DAF1DC
accent
#CA271C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084