Skip to content
Vectorlight.net

#bc51fb

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

HEX
#bc51fb
RGB
188, 81, 251
HSL
277.76°, 95.51%, 65.1%
OKLCH
0.65 0.25 310.1
Names
—
Lists

Codes

FormatValue
HEX#bc51fb
RGBrgb(188 81 251)
HSLhsl(277.76 95.51% 65.1%)
OKLCHoklch(0.65 0.25 310.1)
CMYKcmyk(25.1% 67.73% 0% 1.57%)
Android#ffbc51fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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