Skip to content
Vectorlight.net

#bb51bd

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

HEX
#bb51bd
RGB
187, 81, 189
HSL
298.89°, 45%, 52.94%
OKLCH
0.61 0.19 326.86
Names
—
Lists

Codes

FormatValue
HEX#bb51bd
RGBrgb(187 81 189)
HSLhsl(298.89 45% 52.94%)
OKLCHoklch(0.61 0.19 326.86)
CMYKcmyk(1.06% 57.14% 0% 25.88%)
Android#ffbb51bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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