Skip to content
Vectorlight.net

#b142b1

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

HEX
#b142b1
RGB
177, 66, 177
HSL
300°, 45.68%, 47.65%
OKLCH
0.57 0.19 327.75
Names
—
Lists

Codes

FormatValue
HEX#b142b1
RGBrgb(177 66 177)
HSLhsl(300 45.68% 47.65%)
OKLCHoklch(0.57 0.19 327.75)
CMYKcmyk(0% 62.71% 0% 30.59%)
Android#ffb142b1

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.28:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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