Skip to content
Vectorlight.net

#af58cb

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

HEX
#af58cb
RGB
175, 88, 203
HSL
285.39°, 52.51%, 57.06%
OKLCH
0.61 0.19 317.25
Names
—
Lists

Codes

FormatValue
HEX#af58cb
RGBrgb(175 88 203)
HSLhsl(285.39 52.51% 57.06%)
OKLCHoklch(0.61 0.19 317.25)
CMYKcmyk(13.79% 56.65% 0% 20.39%)
Android#ffaf58cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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