Skip to content
Vectorlight.net

#af49ec

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

HEX
#af49ec
RGB
175, 73, 236
HSL
277.55°, 81.09%, 60.59%
OKLCH
0.61 0.24 309.77
Names
—
Lists

Codes

FormatValue
HEX#af49ec
RGBrgb(175 73 236)
HSLhsl(277.55 81.09% 60.59%)
OKLCHoklch(0.61 0.24 309.77)
CMYKcmyk(25.85% 69.07% 0% 7.45%)
Android#ffaf49ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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