Skip to content
Vectorlight.net

#a12bbc

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

HEX
#a12bbc
RGB
161, 43, 188
HSL
288.83°, 62.77%, 45.29%
OKLCH
0.54 0.22 319.22
Names
—
Lists

Codes

FormatValue
HEX#a12bbc
RGBrgb(161 43 188)
HSLhsl(288.83 62.77% 45.29%)
OKLCHoklch(0.54 0.22 319.22)
CMYKcmyk(14.36% 77.13% 0% 26.27%)
Android#ffa12bbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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