Skip to content
Vectorlight.net

#b952bc

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

HEX
#b952bc
RGB
185, 82, 188
HSL
298.3°, 44.17%, 52.94%
OKLCH
0.61 0.19 326.45
Names
—
Lists

Codes

FormatValue
HEX#b952bc
RGBrgb(185 82 188)
HSLhsl(298.3 44.17% 52.94%)
OKLCHoklch(0.61 0.19 326.45)
CMYKcmyk(1.6% 56.38% 0% 26.27%)
Android#ffb952bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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