Skip to content
Vectorlight.net

#af72df

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

HEX
#af72df
RGB
175, 114, 223
HSL
273.58°, 63.01%, 66.08%
OKLCH
0.66 0.17 308.34
Names
—
Lists

Codes

FormatValue
HEX#af72df
RGBrgb(175 114 223)
HSLhsl(273.58 63.01% 66.08%)
OKLCHoklch(0.66 0.17 308.34)
CMYKcmyk(21.52% 48.88% 0% 12.55%)
Android#ffaf72df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

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