Skip to content
Vectorlight.net

#a72fab

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

HEX
#a72fab
RGB
167, 47, 171
HSL
298.06°, 56.88%, 42.75%
OKLCH
0.54 0.21 326.6
Names
—
Lists

Codes

FormatValue
HEX#a72fab
RGBrgb(167 47 171)
HSLhsl(298.06 56.88% 42.75%)
OKLCHoklch(0.54 0.21 326.6)
CMYKcmyk(2.34% 72.51% 0% 32.94%)
Android#ffa72fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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