Skip to content
Vectorlight.net

#a40acc

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

HEX
#a40acc
RGB
164, 10, 204
HSL
287.63°, 90.65%, 41.96%
OKLCH
0.53 0.26 316.68
Names
—
Lists

Codes

FormatValue
HEX#a40acc
RGBrgb(164 10 204)
HSLhsl(287.63 90.65% 41.96%)
OKLCHoklch(0.53 0.26 316.68)
CMYKcmyk(19.61% 95.1% 0% 20%)
Android#ffa40acc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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