Skip to content
Vectorlight.net

#a31fda

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

HEX
#a31fda
RGB
163, 31, 218
HSL
282.35°, 75.1%, 48.82%
OKLCH
0.55 0.26 312.37
Names
—
Lists

Codes

FormatValue
HEX#a31fda
RGBrgb(163 31 218)
HSLhsl(282.35 75.1% 48.82%)
OKLCHoklch(0.55 0.26 312.37)
CMYKcmyk(25.23% 85.78% 0% 14.51%)
Android#ffa31fda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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