Skip to content
Vectorlight.net

#af57cb

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

HEX
#af57cb
RGB
175, 87, 203
HSL
285.52°, 52.73%, 56.86%
OKLCH
0.61 0.19 317.33
Names
—
Lists

Codes

FormatValue
HEX#af57cb
RGBrgb(175 87 203)
HSLhsl(285.52 52.73% 56.86%)
OKLCHoklch(0.61 0.19 317.33)
CMYKcmyk(13.79% 57.14% 0% 20.39%)
Android#ffaf57cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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