Skip to content
Vectorlight.net

#a820a8

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

HEX
#a820a8
RGB
168, 32, 168
HSL
300°, 68%, 39.22%
OKLCH
0.53 0.22 328.16
Names
—
Lists

Codes

FormatValue
HEX#a820a8
RGBrgb(168 32 168)
HSLhsl(300 68% 39.22%)
OKLCHoklch(0.53 0.22 328.16)
CMYKcmyk(0% 80.95% 0% 34.12%)
Android#ffa820a8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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