Skip to content
Vectorlight.net

#b040bd

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

HEX
#b040bd
RGB
176, 64, 189
HSL
293.76°, 49.41%, 49.61%
OKLCH
0.58 0.21 323.4
Names
—
Lists

Codes

FormatValue
HEX#b040bd
RGBrgb(176 64 189)
HSLhsl(293.76 49.41% 49.61%)
OKLCHoklch(0.58 0.21 323.4)
CMYKcmyk(6.88% 66.14% 0% 25.88%)
Android#ffb040bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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