Skip to content
Vectorlight.net

#a12bad

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

HEX
#a12bad
RGB
161, 43, 173
HSL
294.46°, 60.19%, 42.35%
OKLCH
0.53 0.21 323.89
Names
—
Lists

Codes

FormatValue
HEX#a12bad
RGBrgb(161 43 173)
HSLhsl(294.46 60.19% 42.35%)
OKLCHoklch(0.53 0.21 323.89)
CMYKcmyk(6.94% 75.14% 0% 32.16%)
Android#ffa12bad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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