Skip to content
Vectorlight.net

#a12bda

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

HEX
#a12bda
RGB
161, 43, 218
HSL
280.46°, 70.28%, 51.18%
OKLCH
0.56 0.25 311.2
Names
—
Lists

Codes

FormatValue
HEX#a12bda
RGBrgb(161 43 218)
HSLhsl(280.46 70.28% 51.18%)
OKLCHoklch(0.56 0.25 311.2)
CMYKcmyk(26.15% 80.28% 0% 14.51%)
Android#ffa12bda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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