Skip to content
Vectorlight.net

#a3159e

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

HEX
#a3159e
RGB
163, 21, 158
HSL
302.11°, 77.17%, 36.08%
OKLCH
0.51 0.22 329.94
Names
—
Lists

Codes

FormatValue
HEX#a3159e
RGBrgb(163 21 158)
HSLhsl(302.11 77.17% 36.08%)
OKLCHoklch(0.51 0.22 329.94)
CMYKcmyk(0% 87.12% 3.07% 36.08%)
Android#ffa3159e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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