#E478DC#E478DC
#E478DC is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.8% C 0.180 H 330.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #E478DC |
|---|---|
| RGB | rgb(228, 120, 220) |
| HSL | hsl(304, 67%, 68%) |
| HSV | hsv(304, 47%, 89%) |
| CMYK | cmyk(0%, 47.4%, 3.5%, 10.6%) |
| CIE-LAB | lab(65.82, 55.27, -32.97) |
| CIE-LCH | lch(65.82, 64.36, 329.19°) |
| OKLab | oklab(72.8% 0.156 -0.0899) |
| OKLCH | oklch(72.8% 0.18 330) |
| XYZ | xyz(51.6291, 35.0972, 71.7513) |
| Luminance | 0.3509 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.13
Orchid
#DA70D6
ΔE00 2.58
Lavender Pink
#DD85D7
ΔE00 3.19
Violet (CSS)
#EE82EE
ΔE00 3.39
Candy Pink
#FF63E9
ΔE00 4.76
Orchid (survey)
#C875C4
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E478DC #78E480
analogous
#B678E4 #E478DC #E478A6
triadic
#E478DC #DCE478 #78DCE4
tetradic
#E478DC #E4B678 #78E480 #78A6E4
square
#E478DC #E4B678 #78E480 #78A6E4
split-complementary
#E478DC #A6E478 #78E4B6
monochromatic
#BC26B1 #DA45CF #E478DC #EEABE9 #F8DEF6
Accessibility & contrast
On white
2.62
#E478DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#E478DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E478DC
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E478DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E478DC | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7297DF
Deuteranopia (green-blind)
#91A5D9
Tritanopia (blue-blind)
#EB81A0
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #e478dc; /* rgb */ color: rgb(228, 120, 220); /* oklch */ color: oklch(72.8% 0.180 330.0);
Tailwind
colors: {
custom: {
50: '#efa2e7',
500: '#e478dc',
950: '#000000',
},
}SCSS
$custom: #e478dc; $custom-light: #efa2e7; $custom-dark: #000000;
JSON
{
"hex": "#e478dc",
"rgb": {
"r": 228,
"g": 120,
"b": 220
},
"hsl": {
"h": 304.444,
"s": 66.667,
"l": 68.235
},
"oklch": {
"l": 0.72805,
"c": 0.18005,
"h": 330
},
"luminance": 0.35094
}Semantic roles & 50–950 ramp
primary
#E478DC
secondary
#CCECCE
accent
#CF2517
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#170F16
muted
#857F84