Skip to content
Vectorlight.net

#a002ba

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

HEX
#a002ba
RGB
160, 2, 186
HSL
291.52°, 97.87%, 36.86%
OKLCH
0.51 0.24 320.38
Names
—
Lists

Codes

FormatValue
HEX#a002ba
RGBrgb(160 2 186)
HSLhsl(291.52 97.87% 36.86%)
OKLCHoklch(0.51 0.24 320.38)
CMYKcmyk(13.98% 98.92% 0% 27.06%)
Android#ffa002ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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