Skip to content
Vectorlight.net

#b94dfc

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

HEX
#b94dfc
RGB
185, 77, 252
HSL
277.03°, 96.69%, 64.51%
OKLCH
0.64 0.25 309.22
Names
—
Lists

Codes

FormatValue
HEX#b94dfc
RGBrgb(185 77 252)
HSLhsl(277.03 96.69% 64.51%)
OKLCHoklch(0.64 0.25 309.22)
CMYKcmyk(26.59% 69.44% 0% 1.18%)
Android#ffb94dfc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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