Skip to content
Vectorlight.net

#a162bb

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

HEX
#a162bb
RGB
161, 98, 187
HSL
282.47°, 39.56%, 55.88%
OKLCH
0.6 0.15 315.36
Names
—
Lists

Codes

FormatValue
HEX#a162bb
RGBrgb(161 98 187)
HSLhsl(282.47 39.56% 55.88%)
OKLCHoklch(0.6 0.15 315.36)
CMYKcmyk(13.9% 47.59% 0% 26.67%)
Android#ffa162bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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