Skip to content
Vectorlight.net

#e481ec

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

HEX
#e481ec
RGB
228, 129, 236
HSL
295.51°, 73.79%, 71.57%
OKLCH
0.75 0.18 324.41
Names
—
Lists

Codes

FormatValue
HEX#e481ec
RGBrgb(228 129 236)
HSLhsl(295.51 73.79% 71.57%)
OKLCHoklch(0.75 0.18 324.41)
CMYKcmyk(3.39% 45.34% 0% 7.45%)
Android#ffe481ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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