Skip to content
Vectorlight.net

#a412ad

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

HEX
#a412ad
RGB
164, 18, 173
HSL
296.52°, 81.15%, 37.45%
OKLCH
0.52 0.23 325.39
Names
—
Lists

Codes

FormatValue
HEX#a412ad
RGBrgb(164 18 173)
HSLhsl(296.52 81.15% 37.45%)
OKLCHoklch(0.52 0.23 325.39)
CMYKcmyk(5.2% 89.6% 0% 32.16%)
Android#ffa412ad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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