Skip to content
Vectorlight.net

#af57be

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

HEX
#af57be
RGB
175, 87, 190
HSL
291.26°, 44.21%, 54.31%
OKLCH
0.6 0.17 321.62
Names
—
Lists

Codes

FormatValue
HEX#af57be
RGBrgb(175 87 190)
HSLhsl(291.26 44.21% 54.31%)
OKLCHoklch(0.6 0.17 321.62)
CMYKcmyk(7.89% 54.21% 0% 25.49%)
Android#ffaf57be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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