Skip to content
Vectorlight.net

#b381bd

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

HEX
#b381bd
RGB
179, 129, 189
HSL
290°, 31.25%, 62.35%
OKLCH
0.67 0.1 320.73
Names
—
Lists

Codes

FormatValue
HEX#b381bd
RGBrgb(179 129 189)
HSLhsl(290 31.25% 62.35%)
OKLCHoklch(0.67 0.1 320.73)
CMYKcmyk(5.29% 31.75% 0% 25.88%)
Android#ffb381bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.09:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.79:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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