Skip to content
Vectorlight.net

#af56bf

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

HEX
#af56bf
RGB
175, 86, 191
HSL
290.86°, 45.06%, 54.31%
OKLCH
0.6 0.18 321.33
Names
—
Lists

Codes

FormatValue
HEX#af56bf
RGBrgb(175 86 191)
HSLhsl(290.86 45.06% 54.31%)
OKLCHoklch(0.6 0.18 321.33)
CMYKcmyk(8.38% 54.97% 0% 25.1%)
Android#ffaf56bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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