Skip to content
Vectorlight.net

#a72baf

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

HEX
#a72baf
RGB
167, 43, 175
HSL
296.36°, 60.55%, 42.75%
OKLCH
0.54 0.22 325.36
Names
—
Lists

Codes

FormatValue
HEX#a72baf
RGBrgb(167 43 175)
HSLhsl(296.36 60.55% 42.75%)
OKLCHoklch(0.54 0.22 325.36)
CMYKcmyk(4.57% 75.43% 0% 31.37%)
Android#ffa72baf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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