Skip to content
Vectorlight.net

#bc40ec

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

HEX
#bc40ec
RGB
188, 64, 236
HSL
283.26°, 81.9%, 58.82%
OKLCH
0.62 0.25 314.56
Names
—
Lists

Codes

FormatValue
HEX#bc40ec
RGBrgb(188 64 236)
HSLhsl(283.26 81.9% 58.82%)
OKLCHoklch(0.62 0.25 314.56)
CMYKcmyk(20.34% 72.88% 0% 7.45%)
Android#ffbc40ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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