Skip to content
Vectorlight.net

#e478fe

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#e478fe
RGB
228, 120, 254
HSL
288.36°, 98.53%, 73.33%
OKLCH
0.74 0.21 319.54
Names
—
Lists

Codes

FormatValue
HEX#e478fe
RGBrgb(228 120 254)
HSLhsl(288.36 98.53% 73.33%)
OKLCHoklch(0.74 0.21 319.54)
CMYKcmyk(10.24% 52.76% 0% 0.39%)
Android#ffe478fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.49:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.41:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#e478fe"
Gradient stop
<stop stop-color="#e478fe"/>
CSS variable + fill
:root { --c: #e478fe; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #e478fe;
background-color: #e478fe;
bg-[#e478fe]