Skip to content
Vectorlight.net

#b20ecc

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

HEX
#b20ecc
RGB
178, 14, 204
HSL
291.79°, 87.16%, 42.75%
OKLCH
0.56 0.26 320.97
Names
—
Lists

Codes

FormatValue
HEX#b20ecc
RGBrgb(178 14 204)
HSLhsl(291.79 87.16% 42.75%)
OKLCHoklch(0.56 0.26 320.97)
CMYKcmyk(12.75% 93.14% 0% 20%)
Android#ffb20ecc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.48:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.82:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#b20ecc"
Gradient stop
<stop stop-color="#b20ecc"/>
CSS variable + fill
:root { --c: #b20ecc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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