Skip to content
Vectorlight.net

#bd28ab

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

HEX
#bd28ab
RGB
189, 40, 171
HSL
307.25°, 65.07%, 44.9%
OKLCH
0.56 0.23 333.81
Names
—
Lists

Codes

FormatValue
HEX#bd28ab
RGBrgb(189 40 171)
HSLhsl(307.25 65.07% 44.9%)
OKLCHoklch(0.56 0.23 333.81)
CMYKcmyk(0% 78.84% 9.52% 25.88%)
Android#ffbd28ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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