Skip to content
Vectorlight.net

#af41bf

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

HEX
#af41bf
RGB
175, 65, 191
HSL
292.38°, 49.61%, 50.2%
OKLCH
0.58 0.21 322.37
Names
—
Lists

Codes

FormatValue
HEX#af41bf
RGBrgb(175 65 191)
HSLhsl(292.38 49.61% 50.2%)
OKLCHoklch(0.58 0.21 322.37)
CMYKcmyk(8.38% 65.97% 0% 25.1%)
Android#ffaf41bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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