Skip to content
Vectorlight.net

#a652bc

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

HEX
#a652bc
RGB
166, 82, 188
HSL
287.55°, 44.17%, 52.94%
OKLCH
0.58 0.18 318.9
Names
—
Lists

Codes

FormatValue
HEX#a652bc
RGBrgb(166 82 188)
HSLhsl(287.55 44.17% 52.94%)
OKLCHoklch(0.58 0.18 318.9)
CMYKcmyk(11.7% 56.38% 0% 26.27%)
Android#ffa652bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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