Skip to content
Vectorlight.net

#af36ec

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

HEX
#af36ec
RGB
175, 54, 236
HSL
279.89°, 82.73%, 56.86%
OKLCH
0.6 0.26 311.01
Names
—
Lists

Codes

FormatValue
HEX#af36ec
RGBrgb(175 54 236)
HSLhsl(279.89 82.73% 56.86%)
OKLCHoklch(0.6 0.26 311.01)
CMYKcmyk(25.85% 77.12% 0% 7.45%)
Android#ffaf36ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.56:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#af36ec"
Gradient stop
<stop stop-color="#af36ec"/>
CSS variable + fill
:root { --c: #af36ec; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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