#E997FC#E997FC
#E997FC is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.4% C 0.162 H 319.9°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #E997FC |
|---|---|
| RGB | rgb(233, 151, 252) |
| HSL | hsl(289, 94%, 79%) |
| HSV | hsv(289, 40%, 99%) |
| CMYK | cmyk(7.5%, 40.1%, 0%, 1.2%) |
| CIE-LAB | lab(73.86, 46.86, -38.02) |
| CIE-LCH | lch(73.86, 60.34, 320.95°) |
| OKLab | oklab(79.37% 0.1241 -0.1045) |
| OKLCH | oklch(79.37% 0.162 319.9) |
| XYZ | xyz(62.2393, 46.4872, 97.7709) |
| Luminance | 0.4648 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.80
Baby Purple
#CA9BF7
ΔE00 6.02
Lilac (survey)
#CEA2FD
ΔE00 6.31
Mauve
#E0B0FF
ΔE00 6.51
Lavender Pink
#DD85D7
ΔE00 6.62
Lavender (survey)
#C79FEF
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E997FC #AAFC97
analogous
#B797FC #E997FC #FC97DD
triadic
#E997FC #FCE997 #97FCE9
tetradic
#E997FC #FCB797 #AAFC97 #97DDFC
square
#E997FC #FCB797 #AAFC97 #97DDFC
split-complementary
#E997FC #DDFC97 #97FCB7
monochromatic
#D020F9 #DC5CFA #E997FC #F6D2FE #F9E1FE
Accessibility & contrast
On white
2.04
#E997FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.30
#E997FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E997FC
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E997FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E997FC | 1.00 | 2.04 | 10.30 | 10.30 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#9EB9F9
Tritanopia (blue-blind)
#EAA3BE
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #e997fc; /* rgb */ color: rgb(233, 151, 252); /* oklch */ color: oklch(79.4% 0.162 319.9);
Tailwind
colors: {
custom: {
50: '#f1b7fd',
500: '#e997fc',
950: '#000000',
},
}SCSS
$custom: #e997fc; $custom-light: #f1b7fd; $custom-dark: #000000;
JSON
{
"hex": "#e997fc",
"rgb": {
"r": 233,
"g": 151,
"b": 252
},
"hsl": {
"h": 288.713,
"s": 94.393,
"l": 79.02
},
"oklch": {
"l": 0.79366,
"c": 0.16224,
"h": 319.9
},
"luminance": 0.46485
}Semantic roles & 50–950 ramp
primary
#E997FC
secondary
#DBF6D5
accent
#E6002B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085