Skip to content
Vectorlight.net

#b27cbc

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

HEX
#b27cbc
RGB
178, 124, 188
HSL
290.63°, 32.32%, 61.18%
OKLCH
0.66 0.11 321.14
Names
—
Lists

Codes

FormatValue
HEX#b27cbc
RGBrgb(178 124 188)
HSLhsl(290.63 32.32% 61.18%)
OKLCHoklch(0.66 0.11 321.14)
CMYKcmyk(5.32% 34.04% 0% 26.27%)
Android#ffb27cbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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