Skip to content
Vectorlight.net

#a161cf

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

HEX
#a161cf
RGB
161, 97, 207
HSL
274.91°, 53.4%, 59.61%
OKLCH
0.61 0.17 309.09
Names
—
Lists

Codes

FormatValue
HEX#a161cf
RGBrgb(161 97 207)
HSLhsl(274.91 53.4% 59.61%)
OKLCHoklch(0.61 0.17 309.09)
CMYKcmyk(22.22% 53.14% 0% 18.82%)
Android#ffa161cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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