Skip to content
Vectorlight.net

#a7159c

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

HEX
#a7159c
RGB
167, 21, 156
HSL
304.52°, 77.66%, 36.86%
OKLCH
0.51 0.22 331.95
Names
—
Lists

Codes

FormatValue
HEX#a7159c
RGBrgb(167 21 156)
HSLhsl(304.52 77.66% 36.86%)
OKLCHoklch(0.51 0.22 331.95)
CMYKcmyk(0% 87.43% 6.59% 34.51%)
Android#ffa7159c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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