Skip to content
Vectorlight.net

#a581cc

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

HEX
#a581cc
RGB
165, 129, 204
HSL
268.8°, 42.37%, 65.29%
OKLCH
0.67 0.11 305.56
Names
—
Lists

Codes

FormatValue
HEX#a581cc
RGBrgb(165 129 204)
HSLhsl(268.8 42.37% 65.29%)
OKLCHoklch(0.67 0.11 305.56)
CMYKcmyk(19.12% 36.76% 0% 20%)
Android#ffa581cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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