Skip to content
Vectorlight.net

#a40eae

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

HEX
#a40eae
RGB
164, 14, 174
HSL
296.25°, 85.11%, 36.86%
OKLCH
0.51 0.23 325.12
Names
—
Lists

Codes

FormatValue
HEX#a40eae
RGBrgb(164 14 174)
HSLhsl(296.25 85.11% 36.86%)
OKLCHoklch(0.51 0.23 325.12)
CMYKcmyk(5.75% 91.95% 0% 31.76%)
Android#ffa40eae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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