Skip to content
Vectorlight.net

#af56cc

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

HEX
#af56cc
RGB
175, 86, 204
HSL
285.25°, 53.64%, 56.86%
OKLCH
0.61 0.19 317.1
Names
—
Lists

Codes

FormatValue
HEX#af56cc
RGBrgb(175 86 204)
HSLhsl(285.25 53.64% 56.86%)
OKLCHoklch(0.61 0.19 317.1)
CMYKcmyk(14.22% 57.84% 0% 20%)
Android#ffaf56cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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