Skip to content
Vectorlight.net

#b938bb

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

HEX
#b938bb
RGB
185, 56, 187
HSL
299.08°, 53.91%, 47.65%
OKLCH
0.58 0.22 327.3
Names
—
Lists

Codes

FormatValue
HEX#b938bb
RGBrgb(185 56 187)
HSLhsl(299.08 53.91% 47.65%)
OKLCHoklch(0.58 0.22 327.3)
CMYKcmyk(1.07% 70.05% 0% 26.67%)
Android#ffb938bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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