Skip to content
Vectorlight.net

#a170da

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

HEX
#a170da
RGB
161, 112, 218
HSL
267.74°, 58.89%, 64.71%
OKLCH
0.64 0.16 303.56
Names
—
Lists

Codes

FormatValue
HEX#a170da
RGBrgb(161 112 218)
HSLhsl(267.74 58.89% 64.71%)
OKLCHoklch(0.64 0.16 303.56)
CMYKcmyk(26.15% 48.62% 0% 14.51%)
Android#ffa170da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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