Skip to content
Vectorlight.net

#a31da8

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

HEX
#a31da8
RGB
163, 29, 168
HSL
297.84°, 70.56%, 38.63%
OKLCH
0.52 0.22 326.51
Names
—
Lists

Codes

FormatValue
HEX#a31da8
RGBrgb(163 29 168)
HSLhsl(297.84 70.56% 38.63%)
OKLCHoklch(0.52 0.22 326.51)
CMYKcmyk(2.98% 82.74% 0% 34.12%)
Android#ffa31da8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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