Skip to content
Vectorlight.net

#a161cb

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

HEX
#a161cb
RGB
161, 97, 203
HSL
276.23°, 50.48%, 58.82%
OKLCH
0.61 0.17 310.25
Names
—
Lists

Codes

FormatValue
HEX#a161cb
RGBrgb(161 97 203)
HSLhsl(276.23 50.48% 58.82%)
OKLCHoklch(0.61 0.17 310.25)
CMYKcmyk(20.69% 52.22% 0% 20.39%)
Android#ffa161cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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