Skip to content
Vectorlight.net

#bd52ba

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

HEX
#bd52ba
RGB
189, 82, 186
HSL
301.68°, 44.77%, 53.14%
OKLCH
0.61 0.19 328.64
Names
—
Lists

Codes

FormatValue
HEX#bd52ba
RGBrgb(189 82 186)
HSLhsl(301.68 44.77% 53.14%)
OKLCHoklch(0.61 0.19 328.64)
CMYKcmyk(0% 56.61% 1.59% 25.88%)
Android#ffbd52ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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