Skip to content
Vectorlight.net

#bb18c7

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

HEX
#bb18c7
RGB
187, 24, 199
HSL
295.89°, 78.48%, 43.73%
OKLCH
0.57 0.26 324.86
Names
—
Lists

Codes

FormatValue
HEX#bb18c7
RGBrgb(187 24 199)
HSLhsl(295.89 78.48% 43.73%)
OKLCHoklch(0.57 0.26 324.86)
CMYKcmyk(6.03% 87.94% 0% 21.96%)
Android#ffbb18c7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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