Skip to content
Vectorlight.net

#bd28dc

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

HEX
#bd28dc
RGB
189, 40, 220
HSL
289.67°, 72%, 50.98%
OKLCH
0.59 0.26 319.66
Names
—
Lists

Codes

FormatValue
HEX#bd28dc
RGBrgb(189 40 220)
HSLhsl(289.67 72% 50.98%)
OKLCHoklch(0.59 0.26 319.66)
CMYKcmyk(14.09% 81.82% 0% 13.73%)
Android#ffbd28dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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