Skip to content
Vectorlight.net

#b147fc

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

HEX
#b147fc
RGB
177, 71, 252
HSL
275.14°, 96.79%, 63.33%
OKLCH
0.63 0.26 307.12
Names
—
Lists

Codes

FormatValue
HEX#b147fc
RGBrgb(177 71 252)
HSLhsl(275.14 96.79% 63.33%)
OKLCHoklch(0.63 0.26 307.12)
CMYKcmyk(29.76% 71.83% 0% 1.18%)
Android#ffb147fc

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="#b147fc"
Gradient stop
<stop stop-color="#b147fc"/>
CSS variable + fill
:root { --c: #b147fc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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