Skip to content
Vectorlight.net

#a5029a

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

HEX
#a5029a
RGB
165, 2, 154
HSL
304.05°, 97.6%, 32.75%
OKLCH
0.5 0.22 332
Names
—
Lists

Codes

FormatValue
HEX#a5029a
RGBrgb(165 2 154)
HSLhsl(304.05 97.6% 32.75%)
OKLCHoklch(0.5 0.22 332)
CMYKcmyk(0% 98.79% 6.67% 35.29%)
Android#ffa5029a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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