Skip to content
Vectorlight.net

#bb31da

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

HEX
#bb31da
RGB
187, 49, 218
HSL
288.99°, 69.55%, 52.35%
OKLCH
0.6 0.25 319.3
Names
—
Lists

Codes

FormatValue
HEX#bb31da
RGBrgb(187 49 218)
HSLhsl(288.99 69.55% 52.35%)
OKLCHoklch(0.6 0.25 319.3)
CMYKcmyk(14.22% 77.52% 0% 14.51%)
Android#ffbb31da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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