Skip to content
Vectorlight.net

#a802a4

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

HEX
#a802a4
RGB
168, 2, 164
HSL
301.45°, 97.65%, 33.33%
OKLCH
0.51 0.23 329.63
Names
—
Lists

Codes

FormatValue
HEX#a802a4
RGBrgb(168 2 164)
HSLhsl(301.45 97.65% 33.33%)
OKLCHoklch(0.51 0.23 329.63)
CMYKcmyk(0% 98.81% 2.38% 34.12%)
Android#ffa802a4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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