Skip to content
Vectorlight.net

#b159cf

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

HEX
#b159cf
RGB
177, 89, 207
HSL
284.75°, 55.14%, 58.04%
OKLCH
0.62 0.19 316.74
Names
—
Lists

Codes

FormatValue
HEX#b159cf
RGBrgb(177 89 207)
HSLhsl(284.75 55.14% 58.04%)
OKLCHoklch(0.62 0.19 316.74)
CMYKcmyk(14.49% 57% 0% 18.82%)
Android#ffb159cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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