Skip to content
Vectorlight.net

#bd52a2

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

HEX
#bd52a2
RGB
189, 82, 162
HSL
315.14°, 44.77%, 53.14%
OKLCH
0.6 0.17 338.33
Names
—
Lists

Codes

FormatValue
HEX#bd52a2
RGBrgb(189 82 162)
HSLhsl(315.14 44.77% 53.14%)
OKLCHoklch(0.6 0.17 338.33)
CMYKcmyk(0% 56.61% 14.29% 25.88%)
Android#ffbd52a2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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