Skip to content
Vectorlight.net

#b27abf

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

HEX
#b27abf
RGB
178, 122, 191
HSL
288.7°, 35.03%, 61.37%
OKLCH
0.66 0.12 319.9
Names
—
Lists

Codes

FormatValue
HEX#b27abf
RGBrgb(178 122 191)
HSLhsl(288.7 35.03% 61.37%)
OKLCHoklch(0.66 0.12 319.9)
CMYKcmyk(6.81% 36.13% 0% 25.1%)
Android#ffb27abf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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