Skip to content
Vectorlight.net

#bd42ac

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

HEX
#bd42ac
RGB
189, 66, 172
HSL
308.29°, 48.24%, 50%
OKLCH
0.59 0.2 333.72
Names
—
Lists

Codes

FormatValue
HEX#bd42ac
RGBrgb(189 66 172)
HSLhsl(308.29 48.24% 50%)
OKLCHoklch(0.59 0.2 333.72)
CMYKcmyk(0% 65.08% 8.99% 25.88%)
Android#ffbd42ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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