Skip to content
Vectorlight.net

#a331ad

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

HEX
#a331ad
RGB
163, 49, 173
HSL
295.16°, 55.86%, 43.53%
OKLCH
0.53 0.21 324.44
Names
—
Lists

Codes

FormatValue
HEX#a331ad
RGBrgb(163 49 173)
HSLhsl(295.16 55.86% 43.53%)
OKLCHoklch(0.53 0.21 324.44)
CMYKcmyk(5.78% 71.68% 0% 32.16%)
Android#ffa331ad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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