Skip to content
Vectorlight.net

#bc81fc

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

HEX
#bc81fc
RGB
188, 129, 252
HSL
268.78°, 95.35%, 74.71%
OKLCH
0.71 0.18 304.37
Names
—
Lists

Codes

FormatValue
HEX#bc81fc
RGBrgb(188 129 252)
HSLhsl(268.78 95.35% 74.71%)
OKLCHoklch(0.71 0.18 304.37)
CMYKcmyk(25.4% 48.81% 0% 1.18%)
Android#ffbc81fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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