Skip to content
Vectorlight.net

#af35cb

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

HEX
#af35cb
RGB
175, 53, 203
HSL
288.8°, 59.06%, 50.2%
OKLCH
0.57 0.23 319.33
Names
—
Lists

Codes

FormatValue
HEX#af35cb
RGBrgb(175 53 203)
HSLhsl(288.8 59.06% 50.2%)
OKLCHoklch(0.57 0.23 319.33)
CMYKcmyk(13.79% 73.89% 0% 20.39%)
Android#ffaf35cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.00:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.19:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#af35cb"
Gradient stop
<stop stop-color="#af35cb"/>
CSS variable + fill
:root { --c: #af35cb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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