Skip to content
Vectorlight.net

#b148cb

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

HEX
#b148cb
RGB
177, 72, 203
HSL
288.09°, 55.74%, 53.92%
OKLCH
0.59 0.21 319.1
Names
—
Lists

Codes

FormatValue
HEX#b148cb
RGBrgb(177 72 203)
HSLhsl(288.09 55.74% 53.92%)
OKLCHoklch(0.59 0.21 319.1)
CMYKcmyk(12.81% 64.53% 0% 20.39%)
Android#ffb148cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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