Skip to content
Vectorlight.net

#a412bc

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

HEX
#a412bc
RGB
164, 18, 188
HSL
291.53°, 82.52%, 40.39%
OKLCH
0.53 0.24 320.91
Names
—
Lists

Codes

FormatValue
HEX#a412bc
RGBrgb(164 18 188)
HSLhsl(291.53 82.52% 40.39%)
OKLCHoklch(0.53 0.24 320.91)
CMYKcmyk(12.77% 90.43% 0% 26.27%)
Android#ffa412bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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