Skip to content
Vectorlight.net

#a417ba

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

HEX
#a417ba
RGB
164, 23, 186
HSL
291.9°, 77.99%, 40.98%
OKLCH
0.53 0.24 321.4
Names
—
Lists

Codes

FormatValue
HEX#a417ba
RGBrgb(164 23 186)
HSLhsl(291.9 77.99% 40.98%)
OKLCHoklch(0.53 0.24 321.4)
CMYKcmyk(11.83% 87.63% 0% 27.06%)
Android#ffa417ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.41:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#a417ba"
Gradient stop
<stop stop-color="#a417ba"/>
CSS variable + fill
:root { --c: #a417ba; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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