Skip to content
Vectorlight.net

#b27bb1

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

HEX
#b27bb1
RGB
178, 123, 177
HSL
301.09°, 26.32%, 59.02%
OKLCH
0.66 0.1 327.25
Names
—
Lists

Codes

FormatValue
HEX#b27bb1
RGBrgb(178 123 177)
HSLhsl(301.09 26.32% 59.02%)
OKLCHoklch(0.66 0.1 327.25)
CMYKcmyk(0% 30.9% 0.56% 30.2%)
Android#ffb27bb1

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

Recolor an SVG with this color

CSS

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