Skip to content
Vectorlight.net

#bb52df

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

HEX
#bb52df
RGB
187, 82, 223
HSL
284.68°, 68.78%, 59.8%
OKLCH
0.63 0.22 316.41
Names
—
Lists

Codes

FormatValue
HEX#bb52df
RGBrgb(187 82 223)
HSLhsl(284.68 68.78% 59.8%)
OKLCHoklch(0.63 0.22 316.41)
CMYKcmyk(16.14% 63.23% 0% 12.55%)
Android#ffbb52df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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