Skip to content
Vectorlight.net

#a162b0

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

HEX
#a162b0
RGB
161, 98, 176
HSL
288.46°, 33.05%, 53.73%
OKLCH
0.6 0.13 319.71
Names
—
Lists

Codes

FormatValue
HEX#a162b0
RGBrgb(161 98 176)
HSLhsl(288.46 33.05% 53.73%)
OKLCHoklch(0.6 0.13 319.71)
CMYKcmyk(8.52% 44.32% 0% 30.98%)
Android#ffa162b0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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