Skip to content
Vectorlight.net

#b142ba

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

HEX
#b142ba
RGB
177, 66, 186
HSL
295.5°, 47.62%, 49.41%
OKLCH
0.58 0.2 324.67
Names
—
Lists

Codes

FormatValue
HEX#b142ba
RGBrgb(177 66 186)
HSLhsl(295.5 47.62% 49.41%)
OKLCHoklch(0.58 0.2 324.67)
CMYKcmyk(4.84% 64.52% 0% 27.06%)
Android#ffb142ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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