Skip to content
Vectorlight.net

#b954cc

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

HEX
#b954cc
RGB
185, 84, 204
HSL
290.5°, 54.05%, 56.47%
OKLCH
0.62 0.2 321.04
Names
—
Lists

Codes

FormatValue
HEX#b954cc
RGBrgb(185 84 204)
HSLhsl(290.5 54.05% 56.47%)
OKLCHoklch(0.62 0.2 321.04)
CMYKcmyk(9.31% 58.82% 0% 20%)
Android#ffb954cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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