Skip to content
Vectorlight.net

#a552ba

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

HEX
#a552ba
RGB
165, 82, 186
HSL
287.88°, 42.98%, 52.55%
OKLCH
0.58 0.17 319.16
Names
—
Lists

Codes

FormatValue
HEX#a552ba
RGBrgb(165 82 186)
HSLhsl(287.88 42.98% 52.55%)
OKLCHoklch(0.58 0.17 319.16)
CMYKcmyk(11.29% 55.91% 0% 27.06%)
Android#ffa552ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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