Skip to content
Vectorlight.net

#a031a4

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

HEX
#a031a4
RGB
160, 49, 164
HSL
297.91°, 53.99%, 41.76%
OKLCH
0.52 0.2 326.46
Names
—
Lists

Codes

FormatValue
HEX#a031a4
RGBrgb(160 49 164)
HSLhsl(297.91 53.99% 41.76%)
OKLCHoklch(0.52 0.2 326.46)
CMYKcmyk(2.44% 70.12% 0% 35.69%)
Android#ffa031a4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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