#E97AF2#E97AF2
#E97AF2 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.7% C 0.199 H 324.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #E97AF2 |
|---|---|
| RGB | rgb(233, 122, 242) |
| HSL | hsl(296, 82%, 71%) |
| HSV | hsv(296, 50%, 95%) |
| CMYK | cmyk(3.7%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(67.77, 59.57, -42.06) |
| CIE-LCH | lch(67.77, 72.92, 324.77°) |
| OKLab | oklab(74.69% 0.1624 -0.1159) |
| OKLCH | oklch(74.69% 0.199 324.5) |
| XYZ | xyz(56.5894, 37.6563, 88.2748) |
| Luminance | 0.3765 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.34
Purply Pink
#F075E6
ΔE00 2.72
Light Magenta
#FA5FF7
ΔE00 4.39
Violet Pink
#FB5FFC
ΔE00 4.47
Orchid
#DA70D6
ΔE00 4.85
Candy Pink
#FF63E9
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E97AF2 #83F27A
analogous
#AD7AF2 #E97AF2 #F27ABF
triadic
#E97AF2 #F2E97A #7AF2E9
tetradic
#E97AF2 #F2AD7A #83F27A #7ABFF2
square
#E97AF2 #F2AD7A #83F27A #7ABFF2
split-complementary
#E97AF2 #BFF27A #7AF2AD
monochromatic
#CD16DC #E042ED #E97AF2 #F2B2F7 #FAE3FC
Accessibility & contrast
On white
2.46
#E97AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#E97AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E97AF2
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E97AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E97AF2 | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#ED89AB
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #e97af2; /* rgb */ color: rgb(233, 122, 242); /* oklch */ color: oklch(74.7% 0.199 324.5);
Tailwind
colors: {
custom: {
50: '#f2a4f7',
500: '#e97af2',
950: '#000000',
},
}SCSS
$custom: #e97af2; $custom-light: #f2a4f7; $custom-dark: #000000;
JSON
{
"hex": "#e97af2",
"rgb": {
"r": 233,
"g": 122,
"b": 242
},
"hsl": {
"h": 295.5,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.74686,
"c": 0.19949,
"h": 324.5
},
"luminance": 0.37654
}Semantic roles & 50–950 ramp
primary
#E97AF2
secondary
#D7F3D4
accent
#DF0717
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#170F17
muted
#857F85