#E478DF#E478DF
#E478DF is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.9% C 0.183 H 329.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #E478DF |
|---|---|
| RGB | rgb(228, 120, 223) |
| HSL | hsl(303, 67%, 68%) |
| HSV | hsv(303, 47%, 89%) |
| CMYK | cmyk(0%, 47.4%, 2.2%, 10.6%) |
| CIE-LAB | lab(65.95, 55.79, -34.44) |
| CIE-LCH | lch(65.95, 65.57, 328.31°) |
| OKLab | oklab(72.94% 0.1565 -0.0941) |
| OKLCH | oklch(72.94% 0.183 329) |
| XYZ | xyz(52.0300, 35.2575, 73.8626) |
| Luminance | 0.3525 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.93
Orchid
#DA70D6
ΔE00 2.61
Violet (CSS)
#EE82EE
ΔE00 3.11
Lavender Pink
#DD85D7
ΔE00 3.43
Candy Pink
#FF63E9
ΔE00 4.66
Light Magenta
#FA5FF7
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E478DF #78E47D
analogous
#B378E4 #E478DF #E478A9
triadic
#E478DF #DFE478 #78DFE4
tetradic
#E478DF #E4B378 #78E47D #78A9E4
square
#E478DF #E4B378 #78E47D #78A9E4
split-complementary
#E478DF #A9E478 #78E4B3
monochromatic
#BC26B5 #DA45D3 #E478DF #EEABEB #F8DEF7
Accessibility & contrast
On white
2.61
#E478DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#E478DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E478DF
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E478DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E478DF | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7197E2
Deuteranopia (green-blind)
#90A5DC
Tritanopia (blue-blind)
#EB82A1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #e478df; /* rgb */ color: rgb(228, 120, 223); /* oklch */ color: oklch(72.9% 0.183 329.0);
Tailwind
colors: {
custom: {
50: '#efa2e9',
500: '#e478df',
950: '#000000',
},
}SCSS
$custom: #e478df; $custom-light: #efa2e9; $custom-dark: #000000;
JSON
{
"hex": "#e478df",
"rgb": {
"r": 228,
"g": 120,
"b": 223
},
"hsl": {
"h": 302.778,
"s": 66.667,
"l": 68.235
},
"oklch": {
"l": 0.72939,
"c": 0.18266,
"h": 329
},
"luminance": 0.35255
}Semantic roles & 50–950 ramp
primary
#E478DF
secondary
#CCECCD
accent
#CF1F17
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F16
muted
#857F84