Skip to content
Vectorlight.net

#a40ea0

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

HEX
#a40ea0
RGB
164, 14, 160
HSL
301.6°, 84.27%, 34.9%
OKLCH
0.51 0.22 329.62
Names
—
Lists

Codes

FormatValue
HEX#a40ea0
RGBrgb(164 14 160)
HSLhsl(301.6 84.27% 34.9%)
OKLCHoklch(0.51 0.22 329.62)
CMYKcmyk(0% 91.46% 2.44% 35.69%)
Android#ffa40ea0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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