Skip to content
Vectorlight.net

#a40ba0

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

HEX
#a40ba0
RGB
164, 11, 160
HSL
301.57°, 87.43%, 34.31%
OKLCH
0.5 0.23 329.63
Names
—
Lists

Codes

FormatValue
HEX#a40ba0
RGBrgb(164 11 160)
HSLhsl(301.57 87.43% 34.31%)
OKLCHoklch(0.5 0.23 329.63)
CMYKcmyk(0% 93.29% 2.44% 35.69%)
Android#ffa40ba0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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