Skip to content
Vectorlight.net

#a802ad

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

HEX
#a802ad
RGB
168, 2, 173
HSL
298.25°, 97.71%, 34.31%
OKLCH
0.52 0.24 326.8
Names
—
Lists

Codes

FormatValue
HEX#a802ad
RGBrgb(168 2 173)
HSLhsl(298.25 97.71% 34.31%)
OKLCHoklch(0.52 0.24 326.8)
CMYKcmyk(2.89% 98.84% 0% 32.16%)
Android#ffa802ad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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