Skip to content
Vectorlight.net

#a71baa

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

HEX
#a71baa
RGB
167, 27, 170
HSL
298.74°, 72.59%, 38.63%
OKLCH
0.52 0.22 327.23
Names
—
Lists

Codes

FormatValue
HEX#a71baa
RGBrgb(167 27 170)
HSLhsl(298.74 72.59% 38.63%)
OKLCHoklch(0.52 0.22 327.23)
CMYKcmyk(1.76% 84.12% 0% 33.33%)
Android#ffa71baa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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