#E478F2#E478F2
#E478F2 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.8% C 0.200 H 322.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #E478F2 |
|---|---|
| RGB | rgb(228, 120, 242) |
| HSL | hsl(293, 82%, 71%) |
| HSV | hsv(293, 50%, 95%) |
| CMYK | cmyk(5.8%, 50.4%, 0%, 5.1%) |
| CIE-LAB | lab(66.78, 59.18, -43.66) |
| CIE-LCH | lch(66.78, 73.54, 323.59°) |
| OKLab | oklab(73.83% 0.1594 -0.1206) |
| OKLCH | oklch(73.83% 0.2 322.9) |
| XYZ | xyz(54.7368, 36.3403, 88.1183) |
| Luminance | 0.3634 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.30
Purply Pink
#F075E6
ΔE00 3.40
Light Magenta
#FA5FF7
ΔE00 4.44
Violet Pink
#FB5FFC
ΔE00 4.49
Orchid
#DA70D6
ΔE00 4.60
Candy Pink
#FF63E9
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E478F2 #86F278
analogous
#A778F2 #E478F2 #F278C3
triadic
#E478F2 #F2E478 #78F2E4
tetradic
#E478F2 #F2A778 #86F278 #78C3F2
square
#E478F2 #F2A778 #86F278 #78C3F2
split-complementary
#E478F2 #C3F278 #78F2A7
monochromatic
#C415DB #D940ED #E478F2 #EFB0F7 #F9E3FC
Accessibility & contrast
On white
2.54
#E478F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#E478F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E478F2
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E478F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E478F2 | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#87A7EF
Tritanopia (blue-blind)
#E788AA
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #e478f2; /* rgb */ color: rgb(228, 120, 242); /* oklch */ color: oklch(73.8% 0.200 322.9);
Tailwind
colors: {
custom: {
50: '#efa3f7',
500: '#e478f2',
950: '#000000',
},
}SCSS
$custom: #e478f2; $custom-light: #efa3f7; $custom-dark: #000000;
JSON
{
"hex": "#e478f2",
"rgb": {
"r": 228,
"g": 120,
"b": 242
},
"hsl": {
"h": 293.115,
"s": 82.432,
"l": 70.98
},
"oklch": {
"l": 0.73825,
"c": 0.19989,
"h": 322.9
},
"luminance": 0.36338
}Semantic roles & 50–950 ramp
primary
#E478F2
secondary
#D6F3D3
accent
#DF071F
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#170F17
muted
#857F85