Skip to content
Vectorlight.net

#a331b4

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

HEX
#a331b4
RGB
163, 49, 180
HSL
292.21°, 57.21%, 44.9%
OKLCH
0.54 0.21 322.15
Names
—
Lists

Codes

FormatValue
HEX#a331b4
RGBrgb(163 49 180)
HSLhsl(292.21 57.21% 44.9%)
OKLCHoklch(0.54 0.21 322.15)
CMYKcmyk(9.44% 72.78% 0% 29.41%)
Android#ffa331b4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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