Skip to content
Vectorlight.net

#bd28b2

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

HEX
#bd28b2
RGB
189, 40, 178
HSL
304.43°, 65.07%, 44.9%
OKLCH
0.57 0.23 331.53
Names
—
Lists

Codes

FormatValue
HEX#bd28b2
RGBrgb(189 40 178)
HSLhsl(304.43 65.07% 44.9%)
OKLCHoklch(0.57 0.23 331.53)
CMYKcmyk(0% 78.84% 5.82% 25.88%)
Android#ffbd28b2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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