Skip to content
Vectorlight.net

#b27fac

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

HEX
#b27fac
RGB
178, 127, 172
HSL
307.06°, 24.88%, 59.8%
OKLCH
0.66 0.09 330.62
Names
—
Lists

Codes

FormatValue
HEX#b27fac
RGBrgb(178 127 172)
HSLhsl(307.06 24.88% 59.8%)
OKLCHoklch(0.66 0.09 330.62)
CMYKcmyk(0% 28.65% 3.37% 30.2%)
Android#ffb27fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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