Skip to content
Vectorlight.net

#bb52c2

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

HEX
#bb52c2
RGB
187, 82, 194
HSL
296.25°, 47.86%, 54.12%
OKLCH
0.61 0.19 325.11
Names
—
Lists

Codes

FormatValue
HEX#bb52c2
RGBrgb(187 82 194)
HSLhsl(296.25 47.86% 54.12%)
OKLCHoklch(0.61 0.19 325.11)
CMYKcmyk(3.61% 57.73% 0% 23.92%)
Android#ffbb52c2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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