Skip to content
Vectorlight.net

#bc51db

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

HEX
#bc51db
RGB
188, 81, 219
HSL
286.52°, 65.71%, 58.82%
OKLCH
0.63 0.22 317.9
Names
—
Lists

Codes

FormatValue
HEX#bc51db
RGBrgb(188 81 219)
HSLhsl(286.52 65.71% 58.82%)
OKLCHoklch(0.63 0.22 317.9)
CMYKcmyk(14.16% 63.01% 0% 14.12%)
Android#ffbc51db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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