Skip to content
Vectorlight.net

#a552b2

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

HEX
#a552b2
RGB
165, 82, 178
HSL
291.88°, 38.4%, 50.98%
OKLCH
0.58 0.16 322.05
Names
—
Lists

Codes

FormatValue
HEX#a552b2
RGBrgb(165 82 178)
HSLhsl(291.88 38.4% 50.98%)
OKLCHoklch(0.58 0.16 322.05)
CMYKcmyk(7.3% 53.93% 0% 30.2%)
Android#ffa552b2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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