Skip to content
Vectorlight.net

#b27caa

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

HEX
#b27caa
RGB
178, 124, 170
HSL
308.89°, 25.96%, 59.22%
OKLCH
0.66 0.09 331.86
Names
—
Lists

Codes

FormatValue
HEX#b27caa
RGBrgb(178 124 170)
HSLhsl(308.89 25.96% 59.22%)
OKLCHoklch(0.66 0.09 331.86)
CMYKcmyk(0% 30.34% 4.49% 30.2%)
Android#ffb27caa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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