Skip to content
Vectorlight.net

#b951db

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

HEX
#b951db
RGB
185, 81, 219
HSL
285.22°, 65.71%, 58.82%
OKLCH
0.62 0.22 316.86
Names
—
Lists

Codes

FormatValue
HEX#b951db
RGBrgb(185 81 219)
HSLhsl(285.22 65.71% 58.82%)
OKLCHoklch(0.62 0.22 316.86)
CMYKcmyk(15.53% 63.01% 0% 14.12%)
Android#ffb951db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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