#E978F2#E978F2
#E978F2 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.4% C 0.203 H 324.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #E978F2 |
|---|---|
| RGB | rgb(233, 120, 242) |
| HSL | hsl(296, 82%, 71%) |
| HSV | hsv(296, 50%, 95%) |
| CMYK | cmyk(3.7%, 50.4%, 0%, 5.1%) |
| CIE-LAB | lab(67.40, 60.53, -42.63) |
| CIE-LCH | lch(67.40, 74.03, 324.84°) |
| OKLab | oklab(74.42% 0.165 -0.1175) |
| OKLCH | oklch(74.42% 0.203 324.5) |
| XYZ | xyz(56.3464, 37.1702, 88.1938) |
| Luminance | 0.3717 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.67
Purply Pink
#F075E6
ΔE00 2.71
Light Magenta
#FA5FF7
ΔE00 4.07
Violet Pink
#FB5FFC
ΔE00 4.16
Candy Pink
#FF63E9
ΔE00 4.71
Orchid
#DA70D6
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E978F2 #81F278
analogous
#AC78F2 #E978F2 #F278BE
triadic
#E978F2 #F2E978 #78F2E9
tetradic
#E978F2 #F2AC78 #81F278 #78BEF2
square
#E978F2 #F2AC78 #81F278 #78BEF2
split-complementary
#E978F2 #BEF278 #78F2AC
monochromatic
#CC15DB #E040ED #E978F2 #F2B0F7 #FAE3FC
Accessibility & contrast
On white
2.49
#E978F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#E978F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E978F2
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E978F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E978F2 | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699BF6
Deuteranopia (green-blind)
#8BA9EE
Tritanopia (blue-blind)
#ED87AA
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #e978f2; /* rgb */ color: rgb(233, 120, 242); /* oklch */ color: oklch(74.4% 0.203 324.5);
Tailwind
colors: {
custom: {
50: '#f2a3f7',
500: '#e978f2',
950: '#000000',
},
}SCSS
$custom: #e978f2; $custom-light: #f2a3f7; $custom-dark: #000000;
JSON
{
"hex": "#e978f2",
"rgb": {
"r": 233,
"g": 120,
"b": 242
},
"hsl": {
"h": 295.574,
"s": 82.432,
"l": 70.98
},
"oklch": {
"l": 0.74418,
"c": 0.2026,
"h": 324.5
},
"luminance": 0.37167
}Semantic roles & 50–950 ramp
primary
#E978F2
secondary
#D5F3D3
accent
#DF0717
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85