Skip to content
Vectorlight.net

#a31cda

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

HEX
#a31cda
RGB
163, 28, 218
HSL
282.63°, 77.24%, 48.24%
OKLCH
0.55 0.26 312.46
Names
—
Lists

Codes

FormatValue
HEX#a31cda
RGBrgb(163 28 218)
HSLhsl(282.63 77.24% 48.24%)
OKLCHoklch(0.55 0.26 312.46)
CMYKcmyk(25.23% 87.16% 0% 14.51%)
Android#ffa31cda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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