Skip to content
Vectorlight.net

#a20581

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

HEX
#a20581
RGB
162, 5, 129
HSL
312.61°, 94.01%, 32.75%
OKLCH
0.48 0.21 340.28
Names
—
Lists

Codes

FormatValue
HEX#a20581
RGBrgb(162 5 129)
HSLhsl(312.61 94.01% 32.75%)
OKLCHoklch(0.48 0.21 340.28)
CMYKcmyk(0% 96.91% 20.37% 36.47%)
Android#ffa20581

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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