Skip to content
Vectorlight.net

#a552a2

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

HEX
#a552a2
RGB
165, 82, 162
HSL
302.17°, 33.6%, 48.43%
OKLCH
0.57 0.15 328.68
Names
—
Lists

Codes

FormatValue
HEX#a552a2
RGBrgb(165 82 162)
HSLhsl(302.17 33.6% 48.43%)
OKLCHoklch(0.57 0.15 328.68)
CMYKcmyk(0% 50.3% 1.82% 35.29%)
Android#ffa552a2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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