Skip to content
Vectorlight.net

#a451dc

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

HEX
#a451dc
RGB
164, 81, 220
HSL
275.83°, 66.51%, 59.02%
OKLCH
0.6 0.21 308.91
Names
—
Lists

Codes

FormatValue
HEX#a451dc
RGBrgb(164 81 220)
HSLhsl(275.83 66.51% 59.02%)
OKLCHoklch(0.6 0.21 308.91)
CMYKcmyk(25.45% 63.18% 0% 13.73%)
Android#ffa451dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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