#E798E6#E798E6
#E798E6 is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.4% C 0.137 H 327.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E798E6 |
|---|---|
| RGB | rgb(231, 152, 230) |
| HSL | hsl(301, 62%, 75%) |
| HSV | hsv(301, 34%, 91%) |
| CMYK | cmyk(0%, 34.2%, 0.4%, 9.4%) |
| CIE-LAB | lab(73.00, 41.62, -27.39) |
| CIE-LCH | lch(73.00, 49.82, 326.65°) |
| OKLab | oklab(78.39% 0.1155 -0.0744) |
| OKLCH | oklch(78.39% 0.137 327.2) |
| XYZ | xyz(58.4650, 45.1609, 80.4848) |
| Luminance | 0.4516 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.54
Lavender Pink
#DD85D7
ΔE00 4.62
Violet (CSS)
#EE82EE
ΔE00 5.43
Mauve
#E0B0FF
ΔE00 7.33
Purply Pink
#F075E6
ΔE00 7.46
Lavender (survey)
#C79FEF
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E798E6 #98E799
analogous
#C098E7 #E798E6 #E798BF
triadic
#E798E6 #E6E798 #98E6E7
tetradic
#E798E6 #E7C098 #98E799 #98BFE7
square
#E798E6 #E7C098 #98E799 #98BFE7
split-complementary
#E798E6 #BFE798 #98E7C0
monochromatic
#D035CE #DB66DA #E798E6 #F3CAF2 #F9E6F9
Accessibility & contrast
On white
2.09
#E798E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#E798E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E798E6
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E798E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E798E6 | 1.00 | 2.09 | 10.03 | 10.03 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93ADE9
Deuteranopia (green-blind)
#A6B7E3
Tritanopia (blue-blind)
#EC9FB5
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #e798e6; /* rgb */ color: rgb(231, 152, 230); /* oklch */ color: oklch(78.4% 0.137 327.2);
Tailwind
colors: {
custom: {
50: '#f0b7ee',
500: '#e798e6',
950: '#000000',
},
}SCSS
$custom: #e798e6; $custom-light: #f0b7ee; $custom-dark: #000000;
JSON
{
"hex": "#e798e6",
"rgb": {
"r": 231,
"g": 152,
"b": 230
},
"hsl": {
"h": 300.759,
"s": 62.205,
"l": 75.098
},
"oklch": {
"l": 0.78386,
"c": 0.13734,
"h": 327.2
},
"luminance": 0.45159
}Semantic roles & 50–950 ramp
primary
#E798E6
secondary
#DAF1DB
accent
#CA1E1C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084