Skip to content
Vectorlight.net

#e478dd

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

HEX
#e478dd
RGB
228, 120, 221
HSL
303.89°, 66.67%, 68.24%
OKLCH
0.73 0.18 329.68
Names
—
Lists

Codes

FormatValue
HEX#e478dd
RGBrgb(228 120 221)
HSLhsl(303.89 66.67% 68.24%)
OKLCHoklch(0.73 0.18 329.68)
CMYKcmyk(0% 47.37% 3.07% 10.59%)
Android#ffe478dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.61:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.02: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="#e478dd"
Gradient stop
<stop stop-color="#e478dd"/>
CSS variable + fill
:root { --c: #e478dd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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