Skip to content
Vectorlight.net

#a412b4

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

HEX
#a412b4
RGB
164, 18, 180
HSL
294.07°, 81.82%, 38.82%
OKLCH
0.52 0.24 323.25
Names
—
Lists

Codes

FormatValue
HEX#a412b4
RGBrgb(164 18 180)
HSLhsl(294.07 81.82% 38.82%)
OKLCHoklch(0.52 0.24 323.25)
CMYKcmyk(8.89% 90% 0% 29.41%)
Android#ffa412b4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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