Skip to content
Vectorlight.net

#a412b6

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

HEX
#a412b6
RGB
164, 18, 182
HSL
293.41°, 82%, 39.22%
OKLCH
0.52 0.24 322.66
Names
—
Lists

Codes

FormatValue
HEX#a412b6
RGBrgb(164 18 182)
HSLhsl(293.41 82% 39.22%)
OKLCHoklch(0.52 0.24 322.66)
CMYKcmyk(9.89% 90.11% 0% 28.63%)
Android#ffa412b6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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