Skip to content
Vectorlight.net

#b042be

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

HEX
#b042be
RGB
176, 66, 190
HSL
293.23°, 48.82%, 50.2%
OKLCH
0.58 0.2 323.01
Names
—
Lists

Codes

FormatValue
HEX#b042be
RGBrgb(176 66 190)
HSLhsl(293.23 48.82% 50.2%)
OKLCHoklch(0.58 0.2 323.01)
CMYKcmyk(7.37% 65.26% 0% 25.49%)
Android#ffb042be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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