Skip to content
Vectorlight.net

#a40fbe

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

HEX
#a40fbe
RGB
164, 15, 190
HSL
291.09°, 85.37%, 40.2%
OKLCH
0.53 0.24 320.39
Names
—
Lists

Codes

FormatValue
HEX#a40fbe
RGBrgb(164 15 190)
HSLhsl(291.09 85.37% 40.2%)
OKLCHoklch(0.53 0.24 320.39)
CMYKcmyk(13.68% 92.11% 0% 25.49%)
Android#ffa40fbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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