Skip to content
Vectorlight.net

#bb31be

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

HEX
#bb31be
RGB
187, 49, 190
HSL
298.72°, 59%, 46.86%
OKLCH
0.58 0.23 327.12
Names
—
Lists

Codes

FormatValue
HEX#bb31be
RGBrgb(187 49 190)
HSLhsl(298.72 59% 46.86%)
OKLCHoklch(0.58 0.23 327.12)
CMYKcmyk(1.58% 74.21% 0% 25.49%)
Android#ffbb31be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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