Skip to content
Vectorlight.net

#a40fbd

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

HEX
#a40fbd
RGB
164, 15, 189
HSL
291.38°, 85.29%, 40%
OKLCH
0.53 0.24 320.67
Names
—
Lists

Codes

FormatValue
HEX#a40fbd
RGBrgb(164 15 189)
HSLhsl(291.38 85.29% 40%)
OKLCHoklch(0.53 0.24 320.67)
CMYKcmyk(13.23% 92.06% 0% 25.88%)
Android#ffa40fbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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