Skip to content
Vectorlight.net

#bb18d7

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

HEX
#bb18d7
RGB
187, 24, 215
HSL
291.2°, 79.92%, 46.86%
OKLCH
0.58 0.27 320.66
Names
—
Lists

Codes

FormatValue
HEX#bb18d7
RGBrgb(187 24 215)
HSLhsl(291.2 79.92% 46.86%)
OKLCHoklch(0.58 0.27 320.66)
CMYKcmyk(13.02% 88.84% 0% 15.69%)
Android#ffbb18d7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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