Skip to content
Vectorlight.net

#bd52aa

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

HEX
#bd52aa
RGB
189, 82, 170
HSL
310.65°, 44.77%, 53.14%
OKLCH
0.6 0.17 334.88
Names
—
Lists

Codes

FormatValue
HEX#bd52aa
RGBrgb(189 82 170)
HSLhsl(310.65 44.77% 53.14%)
OKLCHoklch(0.6 0.17 334.88)
CMYKcmyk(0% 56.61% 10.05% 25.88%)
Android#ffbd52aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.24:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.95:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#bd52aa"
Gradient stop
<stop stop-color="#bd52aa"/>
CSS variable + fill
:root { --c: #bd52aa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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