Skip to content
Vectorlight.net

#a122be

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

HEX
#a122be
RGB
161, 34, 190
HSL
288.85°, 69.64%, 43.92%
OKLCH
0.53 0.23 318.96
Names
—
Lists

Codes

FormatValue
HEX#a122be
RGBrgb(161 34 190)
HSLhsl(288.85 69.64% 43.92%)
OKLCHoklch(0.53 0.23 318.96)
CMYKcmyk(15.26% 82.11% 0% 25.49%)
Android#ffa122be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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