Skip to content
Vectorlight.net

#af39cf

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

HEX
#af39cf
RGB
175, 57, 207
HSL
287.2°, 60.98%, 51.76%
OKLCH
0.58 0.23 318.05
Names
—
Lists

Codes

FormatValue
HEX#af39cf
RGBrgb(175 57 207)
HSLhsl(287.2 60.98% 51.76%)
OKLCHoklch(0.58 0.23 318.05)
CMYKcmyk(15.46% 72.46% 0% 18.82%)
Android#ffaf39cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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