Skip to content
Vectorlight.net

#a161db

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

HEX
#a161db
RGB
161, 97, 219
HSL
271.48°, 62.89%, 61.96%
OKLCH
0.62 0.18 305.93
Names
—
Lists

Codes

FormatValue
HEX#a161db
RGBrgb(161 97 219)
HSLhsl(271.48 62.89% 61.96%)
OKLCHoklch(0.62 0.18 305.93)
CMYKcmyk(26.48% 55.71% 0% 14.12%)
Android#ffa161db

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.00:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.24:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#a161db"
Gradient stop
<stop stop-color="#a161db"/>
CSS variable + fill
:root { --c: #a161db; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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