Skip to content
Vectorlight.net

#b159cd

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

HEX
#b159cd
RGB
177, 89, 205
HSL
285.52°, 53.7%, 57.65%
OKLCH
0.62 0.19 317.35
Names
—
Lists

Codes

FormatValue
HEX#b159cd
RGBrgb(177 89 205)
HSLhsl(285.52 53.7% 57.65%)
OKLCHoklch(0.62 0.19 317.35)
CMYKcmyk(13.66% 56.59% 0% 19.61%)
Android#ffb159cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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