Skip to content
Vectorlight.net

#af57ca

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

HEX
#af57ca
RGB
175, 87, 202
HSL
285.91°, 52.04%, 56.67%
OKLCH
0.61 0.19 317.64
Names
—
Lists

Codes

FormatValue
HEX#af57ca
RGBrgb(175 87 202)
HSLhsl(285.91 52.04% 56.67%)
OKLCHoklch(0.61 0.19 317.64)
CMYKcmyk(13.37% 56.93% 0% 20.78%)
Android#ffaf57ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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