Skip to content
Vectorlight.net

#af72ec

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

HEX
#af72ec
RGB
175, 114, 236
HSL
270°, 76.25%, 68.63%
OKLCH
0.67 0.18 305.1
Names
—
Lists

Codes

FormatValue
HEX#af72ec
RGBrgb(175 114 236)
HSLhsl(270 76.25% 68.63%)
OKLCHoklch(0.67 0.18 305.1)
CMYKcmyk(25.85% 51.69% 0% 7.45%)
Android#ffaf72ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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