#E478EF#E478EF
#E478EF is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.7% C 0.197 H 323.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #E478EF |
|---|---|
| RGB | rgb(228, 120, 239) |
| HSL | hsl(294, 79%, 70%) |
| HSV | hsv(294, 50%, 94%) |
| CMYK | cmyk(4.6%, 49.8%, 0%, 6.3%) |
| CIE-LAB | lab(66.64, 58.64, -42.22) |
| CIE-LCH | lch(66.64, 72.25, 324.25°) |
| OKLab | oklab(73.68% 0.159 -0.1164) |
| OKLCH | oklch(73.68% 0.197 323.8) |
| XYZ | xyz(54.2899, 36.1615, 85.7648) |
| Luminance | 0.3616 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 3.00
Violet (CSS)
#EE82EE
ΔE00 3.06
Orchid
#DA70D6
ΔE00 4.19
Light Magenta
#FA5FF7
ΔE00 4.45
Violet Pink
#FB5FFC
ΔE00 4.58
Candy Pink
#FF63E9
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E478EF #83EF78
analogous
#A878EF #E478EF #EF78BE
triadic
#E478EF #EFE478 #78EFE4
tetradic
#E478EF #EFA878 #83EF78 #78BEEF
square
#E478EF #EFA878 #83EF78 #78BEEF
split-complementary
#E478EF #BEEF78 #78EFA8
monochromatic
#C219D4 #D941E9 #E478EF #EFAFF5 #FAE4FC
Accessibility & contrast
On white
2.55
#E478EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#E478EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E478EF
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E478EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E478EF | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#E887A9
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #e478ef; /* rgb */ color: rgb(228, 120, 239); /* oklch */ color: oklch(73.7% 0.197 323.8);
Tailwind
colors: {
custom: {
50: '#efa3f4',
500: '#e478ef',
950: '#000000',
},
}SCSS
$custom: #e478ef; $custom-light: #efa3f4; $custom-dark: #000000;
JSON
{
"hex": "#e478ef",
"rgb": {
"r": 228,
"g": 120,
"b": 239
},
"hsl": {
"h": 294.454,
"s": 78.808,
"l": 70.392
},
"oklch": {
"l": 0.7368,
"c": 0.1971,
"h": 323.8
},
"luminance": 0.36159
}Semantic roles & 50–950 ramp
primary
#E478EF
secondary
#D4F2D1
accent
#DB0A1E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F17
muted
#857F85