Skip to content
Vectorlight.net

#af47bd

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

HEX
#af47bd
RGB
175, 71, 189
HSL
292.88°, 47.2%, 50.98%
OKLCH
0.58 0.2 322.77
Names
—
Lists

Codes

FormatValue
HEX#af47bd
RGBrgb(175 71 189)
HSLhsl(292.88 47.2% 50.98%)
OKLCHoklch(0.58 0.2 322.77)
CMYKcmyk(7.41% 62.43% 0% 25.88%)
Android#ffaf47bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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