Skip to content
Vectorlight.net

#b142d2

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

HEX
#b142d2
RGB
177, 66, 210
HSL
286.25°, 61.54%, 54.12%
OKLCH
0.59 0.22 317.45
Names
—
Lists

Codes

FormatValue
HEX#b142d2
RGBrgb(177 66 210)
HSLhsl(286.25 61.54% 54.12%)
OKLCHoklch(0.59 0.22 317.45)
CMYKcmyk(15.71% 68.57% 0% 17.65%)
Android#ffb142d2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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