Skip to content
Vectorlight.net

#a052bb

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

HEX
#a052bb
RGB
160, 82, 187
HSL
284.57°, 43.57%, 52.75%
OKLCH
0.58 0.17 316.65
Names
—
Lists

Codes

FormatValue
HEX#a052bb
RGBrgb(160 82 187)
HSLhsl(284.57 43.57% 52.75%)
OKLCHoklch(0.58 0.17 316.65)
CMYKcmyk(14.44% 56.15% 0% 26.67%)
Android#ffa052bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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