Skip to content
Vectorlight.net

#a72dab

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

HEX
#a72dab
RGB
167, 45, 171
HSL
298.1°, 58.33%, 42.35%
OKLCH
0.53 0.21 326.64
Names
—
Lists

Codes

FormatValue
HEX#a72dab
RGBrgb(167 45 171)
HSLhsl(298.1 58.33% 42.35%)
OKLCHoklch(0.53 0.21 326.64)
CMYKcmyk(2.34% 73.68% 0% 32.94%)
Android#ffa72dab

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

Recolor an SVG with this color

CSS

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