#E397E2#E397E2
#E397E2 is a light, vivid purple. Relative luminance 0.440; OKLCH L 77.6% C 0.133 H 327.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #E397E2 |
|---|---|
| RGB | rgb(227, 151, 226) |
| HSL | hsl(301, 58%, 74%) |
| HSV | hsv(301, 33%, 89%) |
| CMYK | cmyk(0%, 33.5%, 0.4%, 11%) |
| CIE-LAB | lab(72.20, 40.17, -26.46) |
| CIE-LCH | lch(72.20, 48.10, 326.62°) |
| OKLab | oklab(77.64% 0.1114 -0.0718) |
| OKLCH | oklch(77.64% 0.133 327.2) |
| XYZ | xyz(56.4715, 43.9573, 77.4467) |
| Luminance | 0.4395 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.12
Lavender Pink
#DD85D7
ΔE00 4.23
Violet (CSS)
#EE82EE
ΔE00 5.68
Mauve
#E0B0FF
ΔE00 7.55
Purply Pink
#F075E6
ΔE00 7.56
Lavender (survey)
#C79FEF
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E397E2 #97E398
analogous
#BE97E3 #E397E2 #E397BC
triadic
#E397E2 #E2E397 #97E2E3
tetradic
#E397E2 #E3BE97 #97E398 #97BCE3
square
#E397E2 #E3BE97 #97E398 #97BCE3
split-complementary
#E397E2 #BCE397 #97E3BE
monochromatic
#C937C7 #D667D5 #E397E2 #F0C7EF #F9E7F8
Accessibility & contrast
On white
2.14
#E397E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#E397E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E397E2
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E397E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E397E2 | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92ABE5
Deuteranopia (green-blind)
#A5B5DF
Tritanopia (blue-blind)
#E89EB3
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #e397e2; /* rgb */ color: rgb(227, 151, 226); /* oklch */ color: oklch(77.6% 0.133 327.2);
Tailwind
colors: {
custom: {
50: '#edb7eb',
500: '#e397e2',
950: '#000000',
},
}SCSS
$custom: #e397e2; $custom-light: #edb7eb; $custom-dark: #000000;
JSON
{
"hex": "#e397e2",
"rgb": {
"r": 227,
"g": 151,
"b": 226
},
"hsl": {
"h": 300.789,
"s": 57.576,
"l": 74.118
},
"oklch": {
"l": 0.77638,
"c": 0.13256,
"h": 327.2
},
"luminance": 0.43955
}Semantic roles & 50–950 ramp
primary
#E397E2
secondary
#DBF0DB
accent
#C52320
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084