Skip to content
Vectorlight.net

#a40bb2

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

HEX
#a40bb2
RGB
164, 11, 178
HSL
294.97°, 88.36%, 37.06%
OKLCH
0.52 0.24 323.93
Names
—
Lists

Codes

FormatValue
HEX#a40bb2
RGBrgb(164 11 178)
HSLhsl(294.97 88.36% 37.06%)
OKLCHoklch(0.52 0.24 323.93)
CMYKcmyk(7.87% 93.82% 0% 30.2%)
Android#ffa40bb2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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