#E397EB#E397EB
#E397EB is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.0% C 0.141 H 323.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #E397EB |
|---|---|
| RGB | rgb(227, 151, 235) |
| HSL | hsl(294, 68%, 76%) |
| HSV | hsv(294, 36%, 92%) |
| CMYK | cmyk(3.4%, 35.7%, 0%, 7.8%) |
| CIE-LAB | lab(72.54, 41.83, -30.87) |
| CIE-LCH | lch(72.54, 51.99, 323.58°) |
| OKLab | oklab(78% 0.1136 -0.0842) |
| OKLCH | oklch(78% 0.141 323.5) |
| XYZ | xyz(57.7390, 44.4643, 84.1222) |
| Luminance | 0.4446 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 4.36
Lavender Pink
#DD85D7
ΔE00 4.72
Violet (CSS)
#EE82EE
ΔE00 4.95
Baby Purple
#CA9BF7
ΔE00 6.56
Mauve
#E0B0FF
ΔE00 6.67
Lavender (survey)
#C79FEF
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E397EB #9FEB97
analogous
#B997EB #E397EB #EB97C9
triadic
#E397EB #EBE397 #97EBE3
tetradic
#E397EB #EBB997 #9FEB97 #97C9EB
square
#E397EB #EBB997 #9FEB97 #97C9EB
split-complementary
#E397EB #C9EB97 #97EBB9
monochromatic
#C730D7 #D564E1 #E397EB #F1CAF5 #F8E5FA
Accessibility & contrast
On white
2.12
#E397EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#E397EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E397EB
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E397EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E397EB | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#A2B5E8
Tritanopia (blue-blind)
#E6A0B6
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #e397eb; /* rgb */ color: rgb(227, 151, 235); /* oklch */ color: oklch(78.0% 0.141 323.5);
Tailwind
colors: {
custom: {
50: '#edb7f1',
500: '#e397eb',
950: '#000000',
},
}SCSS
$custom: #e397eb; $custom-light: #edb7f1; $custom-dark: #000000;
JSON
{
"hex": "#e397eb",
"rgb": {
"r": 227,
"g": 151,
"b": 235
},
"hsl": {
"h": 294.286,
"s": 67.742,
"l": 75.686
},
"oklch": {
"l": 0.78004,
"c": 0.14146,
"h": 323.5
},
"luminance": 0.44462
}Semantic roles & 50–950 ramp
primary
#E397EB
secondary
#DCF2D9
accent
#D01628
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085