Skip to content
Vectorlight.net

#b154cf

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

HEX
#b154cf
RGB
177, 84, 207
HSL
285.37°, 56.16%, 57.06%
OKLCH
0.61 0.2 317.13
Names
—
Lists

Codes

FormatValue
HEX#b154cf
RGBrgb(177 84 207)
HSLhsl(285.37 56.16% 57.06%)
OKLCHoklch(0.61 0.2 317.13)
CMYKcmyk(14.49% 59.42% 0% 18.82%)
Android#ffb154cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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