Skip to content
Vectorlight.net

#bd5aa6

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

HEX
#bd5aa6
RGB
189, 90, 166
HSL
313.94°, 42.86%, 54.71%
OKLCH
0.61 0.16 337.01
Names
—
Lists

Codes

FormatValue
HEX#bd5aa6
RGBrgb(189 90 166)
HSLhsl(313.94 42.86% 54.71%)
OKLCHoklch(0.61 0.16 337.01)
CMYKcmyk(0% 52.38% 12.17% 25.88%)
Android#ffbd5aa6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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