Skip to content
Vectorlight.net

#b954ec

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

HEX
#b954ec
RGB
185, 84, 236
HSL
279.87°, 80%, 62.75%
OKLCH
0.64 0.23 312.29
Names
—
Lists

Codes

FormatValue
HEX#b954ec
RGBrgb(185 84 236)
HSLhsl(279.87 80% 62.75%)
OKLCHoklch(0.64 0.23 312.29)
CMYKcmyk(21.61% 64.41% 0% 7.45%)
Android#ffb954ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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