#E397EF#E397EF
#E397EF is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.2% C 0.146 H 321.9°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E397EF |
|---|---|
| RGB | rgb(227, 151, 239) |
| HSL | hsl(292, 73%, 76%) |
| HSV | hsv(292, 37%, 94%) |
| CMYK | cmyk(5%, 36.8%, 0%, 6.3%) |
| CIE-LAB | lab(72.69, 42.59, -32.81) |
| CIE-LCH | lch(72.69, 53.76, 322.39°) |
| OKLab | oklab(78.17% 0.1146 -0.0898) |
| OKLCH | oklch(78.17% 0.146 321.9) |
| XYZ | xyz(58.3233, 44.6981, 87.1999) |
| Luminance | 0.4470 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.84
Plum
#DDA0DD
ΔE00 5.01
Lavender Pink
#DD85D7
ΔE00 5.13
Baby Purple
#CA9BF7
ΔE00 6.05
Mauve
#E0B0FF
ΔE00 6.42
Lavender (survey)
#C79FEF
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E397EF #A3EF97
analogous
#B797EF #E397EF #EF97CF
triadic
#E397EF #EFE397 #97EFE3
tetradic
#E397EF #EFB797 #A3EF97 #97CFEF
square
#E397EF #EFB797 #A3EF97 #97CFEF
split-complementary
#E397EF #CFEF97 #97EFB7
monochromatic
#C62DDF #D562E7 #E397EF #F1CCF7 #F8E4FB
Accessibility & contrast
On white
2.11
#E397EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#E397EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E397EF
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E397EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E397EF | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#A0B5EC
Tritanopia (blue-blind)
#E5A1B8
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #e397ef; /* rgb */ color: rgb(227, 151, 239); /* oklch */ color: oklch(78.2% 0.146 321.9);
Tailwind
colors: {
custom: {
50: '#edb7f4',
500: '#e397ef',
950: '#000000',
},
}SCSS
$custom: #e397ef; $custom-light: #edb7f4; $custom-dark: #000000;
JSON
{
"hex": "#e397ef",
"rgb": {
"r": 227,
"g": 151,
"b": 239
},
"hsl": {
"h": 291.818,
"s": 73.333,
"l": 76.471
},
"oklch": {
"l": 0.78172,
"c": 0.14554,
"h": 321.9
},
"luminance": 0.44696
}Semantic roles & 50–950 ramp
primary
#E397EF
secondary
#DCF3D8
accent
#D5102B
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085