#E478D4#E478D4
#E478D4 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.5% C 0.173 H 333.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E478D4 |
|---|---|
| RGB | rgb(228, 120, 212) |
| HSL | hsl(309, 67%, 68%) |
| HSV | hsv(309, 47%, 89%) |
| CMYK | cmyk(0%, 47.4%, 7%, 10.6%) |
| CIE-LAB | lab(65.50, 53.92, -29.00) |
| CIE-LCH | lch(65.50, 61.23, 331.73°) |
| OKLab | oklab(72.46% 0.1544 -0.0787) |
| OKLCH | oklch(72.46% 0.173 333) |
| XYZ | xyz(50.5949, 34.6835, 66.3043) |
| Luminance | 0.3468 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.98
Orchid
#DA70D6
ΔE00 3.06
Purply Pink
#F075E6
ΔE00 3.15
Violet (CSS)
#EE82EE
ΔE00 4.45
Orchid (survey)
#C875C4
ΔE00 5.04
Candy Pink
#FF63E9
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E478D4 #78E488
analogous
#BE78E4 #E478D4 #E4789E
triadic
#E478D4 #D4E478 #78D4E4
tetradic
#E478D4 #E4BE78 #78E488 #789EE4
square
#E478D4 #E4BE78 #78E488 #789EE4
split-complementary
#E478D4 #9EE478 #78E4BE
monochromatic
#BC26A6 #DA45C4 #E478D4 #EEABE4 #F8DEF4
Accessibility & contrast
On white
2.65
#E478D4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#E478D4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E478D4
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E478D4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E478D4 | 1.00 | 2.65 | 7.94 | 7.94 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7695D7
Deuteranopia (green-blind)
#94A5D1
Tritanopia (blue-blind)
#EC7F9C
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #e478d4; /* rgb */ color: rgb(228, 120, 212); /* oklch */ color: oklch(72.5% 0.173 333.0);
Tailwind
colors: {
custom: {
50: '#efa2e1',
500: '#e478d4',
950: '#000000',
},
}SCSS
$custom: #e478d4; $custom-light: #efa2e1; $custom-dark: #000000;
JSON
{
"hex": "#e478d4",
"rgb": {
"r": 228,
"g": 120,
"b": 212
},
"hsl": {
"h": 308.889,
"s": 66.667,
"l": 68.235
},
"oklch": {
"l": 0.72459,
"c": 0.1733,
"h": 333
},
"luminance": 0.3468
}Semantic roles & 50–950 ramp
primary
#E478D4
secondary
#CCECD0
accent
#CF3217
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#170F15
muted
#857F83