Skip to content
Vectorlight.net

#a951dc

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

HEX
#a951dc
RGB
169, 81, 220
HSL
277.99°, 66.51%, 59.02%
OKLCH
0.61 0.21 310.8
Names
—
Lists

Codes

FormatValue
HEX#a951dc
RGBrgb(169 81 220)
HSLhsl(277.99 66.51% 59.02%)
OKLCHoklch(0.61 0.21 310.8)
CMYKcmyk(23.18% 63.18% 0% 13.73%)
Android#ffa951dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.89:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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