Skip to content
Vectorlight.net

#bc40bd

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

HEX
#bc40bd
RGB
188, 64, 189
HSL
299.52°, 49.41%, 49.61%
OKLCH
0.59 0.21 327.52
Names
—
Lists

Codes

FormatValue
HEX#bc40bd
RGBrgb(188 64 189)
HSLhsl(299.52 49.41% 49.61%)
OKLCHoklch(0.59 0.21 327.52)
CMYKcmyk(0.53% 66.14% 0% 25.88%)
Android#ffbc40bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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