Skip to content
Vectorlight.net

#a310b4

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

HEX
#a310b4
RGB
163, 16, 180
HSL
293.78°, 83.67%, 38.43%
OKLCH
0.52 0.24 322.95
Names
—
Lists

Codes

FormatValue
HEX#a310b4
RGBrgb(163 16 180)
HSLhsl(293.78 83.67% 38.43%)
OKLCHoklch(0.52 0.24 322.95)
CMYKcmyk(9.44% 91.11% 0% 29.41%)
Android#ffa310b4

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.38: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="#a310b4"
Gradient stop
<stop stop-color="#a310b4"/>
CSS variable + fill
:root { --c: #a310b4; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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