#E978EB#E978EB
#E978EB is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.1% C 0.196 H 326.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #E978EB |
|---|---|
| RGB | rgb(233, 120, 235) |
| HSL | hsl(299, 74%, 70%) |
| HSV | hsv(299, 49%, 92%) |
| CMYK | cmyk(0.9%, 48.9%, 0%, 7.8%) |
| CIE-LAB | lab(67.09, 59.28, -39.26) |
| CIE-LCH | lch(67.09, 71.10, 326.49°) |
| OKLab | oklab(74.09% 0.164 -0.1078) |
| OKLCH | oklch(74.09% 0.196 326.7) |
| XYZ | xyz(55.3151, 36.7577, 82.7625) |
| Luminance | 0.3675 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.71
Violet (CSS)
#EE82EE
ΔE00 2.26
Orchid
#DA70D6
ΔE00 3.93
Candy Pink
#FF63E9
ΔE00 4.24
Light Magenta
#FA5FF7
ΔE00 4.30
Violet Pink
#FB5FFC
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E978EB #7AEB78
analogous
#B078EB #E978EB #EB78B3
triadic
#E978EB #EBE978 #78EBE9
tetradic
#E978EB #EBB078 #7AEB78 #78B3EB
square
#E978EB #EBB078 #7AEB78 #78B3EB
split-complementary
#E978EB #B3EB78 #78EBB0
monochromatic
#C81ECB #E043E3 #E978EB #F2ADF3 #FAE3FB
Accessibility & contrast
On white
2.51
#E978EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#E978EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E978EB
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E978EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E978EB | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#8EA8E8
Tritanopia (blue-blind)
#EF85A7
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #e978eb; /* rgb */ color: rgb(233, 120, 235); /* oklch */ color: oklch(74.1% 0.196 326.7);
Tailwind
colors: {
custom: {
50: '#f2a3f2',
500: '#e978eb',
950: '#000000',
},
}SCSS
$custom: #e978eb; $custom-light: #f2a3f2; $custom-dark: #000000;
JSON
{
"hex": "#e978eb",
"rgb": {
"r": 233,
"g": 120,
"b": 235
},
"hsl": {
"h": 298.957,
"s": 74.194,
"l": 69.608
},
"oklch": {
"l": 0.74088,
"c": 0.1963,
"h": 326.7
},
"luminance": 0.36755
}Semantic roles & 50–950 ramp
primary
#E978EB
secondary
#D0F0CF
accent
#D60F13
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F17
muted
#857F85