Skip to content
Vectorlight.net

#b042bd

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

HEX
#b042bd
RGB
176, 66, 189
HSL
293.66°, 48.24%, 50%
OKLCH
0.58 0.2 323.33
Names
—
Lists

Codes

FormatValue
HEX#b042bd
RGBrgb(176 66 189)
HSLhsl(293.66 48.24% 50%)
OKLCHoklch(0.58 0.2 323.33)
CMYKcmyk(6.88% 65.08% 0% 25.88%)
Android#ffb042bd

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

Recolor an SVG with this color

CSS

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