Skip to content
Vectorlight.net

#a02baa

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

HEX
#a02baa
RGB
160, 43, 170
HSL
295.28°, 59.62%, 41.76%
OKLCH
0.52 0.21 324.52
Names
—
Lists

Codes

FormatValue
HEX#a02baa
RGBrgb(160 43 170)
HSLhsl(295.28 59.62% 41.76%)
OKLCHoklch(0.52 0.21 324.52)
CMYKcmyk(5.88% 74.71% 0% 33.33%)
Android#ffa02baa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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