Skip to content
Vectorlight.net

#af47bf

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

HEX
#af47bf
RGB
175, 71, 191
HSL
292°, 48.39%, 51.37%
OKLCH
0.58 0.2 322.12
Names
—
Lists

Codes

FormatValue
HEX#af47bf
RGBrgb(175 71 191)
HSLhsl(292 48.39% 51.37%)
OKLCHoklch(0.58 0.2 322.12)
CMYKcmyk(8.38% 62.83% 0% 25.1%)
Android#ffaf47bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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