Skip to content
Vectorlight.net

#bd3a8a

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

HEX
#bd3a8a
RGB
189, 58, 138
HSL
323.36°, 53.04%, 48.43%
OKLCH
0.56 0.18 347.09
Names
—
Lists

Codes

FormatValue
HEX#bd3a8a
RGBrgb(189 58 138)
HSLhsl(323.36 53.04% 48.43%)
OKLCHoklch(0.56 0.18 347.09)
CMYKcmyk(0% 69.31% 26.98% 25.88%)
Android#ffbd3a8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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