Skip to content
Vectorlight.net

#b148ce

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

HEX
#b148ce
RGB
177, 72, 206
HSL
287.01°, 57.76%, 54.51%
OKLCH
0.6 0.21 318.22
Names
—
Lists

Codes

FormatValue
HEX#b148ce
RGBrgb(177 72 206)
HSLhsl(287.01 57.76% 54.51%)
OKLCHoklch(0.6 0.21 318.22)
CMYKcmyk(14.08% 65.05% 0% 19.22%)
Android#ffb148ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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