Skip to content
Vectorlight.net

#a40ead

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

HEX
#a40ead
RGB
164, 14, 173
HSL
296.6°, 85.03%, 36.67%
OKLCH
0.51 0.23 325.43
Names
—
Lists

Codes

FormatValue
HEX#a40ead
RGBrgb(164 14 173)
HSLhsl(296.6 85.03% 36.67%)
OKLCHoklch(0.51 0.23 325.43)
CMYKcmyk(5.2% 91.91% 0% 32.16%)
Android#ffa40ead

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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