Skip to content
Vectorlight.net

#bd5bdd

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

HEX
#bd5bdd
RGB
189, 91, 221
HSL
285.23°, 65.66%, 61.18%
OKLCH
0.64 0.2 317.04
Names
—
Lists

Codes

FormatValue
HEX#bd5bdd
RGBrgb(189 91 221)
HSLhsl(285.23 65.66% 61.18%)
OKLCHoklch(0.64 0.2 317.04)
CMYKcmyk(14.48% 58.82% 0% 13.33%)
Android#ffbd5bdd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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