Skip to content
Vectorlight.net

#bd42aa

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

HEX
#bd42aa
RGB
189, 66, 170
HSL
309.27°, 48.24%, 50%
OKLCH
0.59 0.2 334.46
Names
—
Lists

Codes

FormatValue
HEX#bd42aa
RGBrgb(189 66 170)
HSLhsl(309.27 48.24% 50%)
OKLCHoklch(0.59 0.2 334.46)
CMYKcmyk(0% 65.08% 10.05% 25.88%)
Android#ffbd42aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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