Skip to content
Vectorlight.net

#a170cb

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

HEX
#a170cb
RGB
161, 112, 203
HSL
272.31°, 46.67%, 61.76%
OKLCH
0.63 0.14 307.67
Names
—
Lists

Codes

FormatValue
HEX#a170cb
RGBrgb(161 112 203)
HSLhsl(272.31 46.67% 61.76%)
OKLCHoklch(0.63 0.14 307.67)
CMYKcmyk(20.69% 44.83% 0% 20.39%)
Android#ffa170cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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