Skip to content
Vectorlight.net

#a31fbe

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

HEX
#a31fbe
RGB
163, 31, 190
HSL
289.81°, 71.95%, 43.33%
OKLCH
0.53 0.24 319.73
Names
—
Lists

Codes

FormatValue
HEX#a31fbe
RGBrgb(163 31 190)
HSLhsl(289.81 71.95% 43.33%)
OKLCHoklch(0.53 0.24 319.73)
CMYKcmyk(14.21% 83.68% 0% 25.49%)
Android#ffa31fbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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