Skip to content
Vectorlight.net

#bd5aaa

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

HEX
#bd5aaa
RGB
189, 90, 170
HSL
311.52°, 42.86%, 54.71%
OKLCH
0.62 0.16 335.19
Names
—
Lists

Codes

FormatValue
HEX#bd5aaa
RGBrgb(189 90 170)
HSLhsl(311.52 42.86% 54.71%)
OKLCHoklch(0.62 0.16 335.19)
CMYKcmyk(0% 52.38% 10.05% 25.88%)
Android#ffbd5aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.20:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#bd5aaa"
Gradient stop
<stop stop-color="#bd5aaa"/>
CSS variable + fill
:root { --c: #bd5aaa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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