Skip to content
Vectorlight.net

#a40dac

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

HEX
#a40dac
RGB
164, 13, 172
HSL
296.98°, 85.95%, 36.27%
OKLCH
0.51 0.23 325.75
Names
—
Lists

Codes

FormatValue
HEX#a40dac
RGBrgb(164 13 172)
HSLhsl(296.98 85.95% 36.27%)
OKLCHoklch(0.51 0.23 325.75)
CMYKcmyk(4.65% 92.44% 0% 32.55%)
Android#ffa40dac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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