Skip to content
Vectorlight.net

#b94dfa

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

HEX
#b94dfa
RGB
185, 77, 250
HSL
277.46°, 94.54%, 64.12%
OKLCH
0.64 0.25 309.65
Names
—
Lists

Codes

FormatValue
HEX#b94dfa
RGBrgb(185 77 250)
HSLhsl(277.46 94.54% 64.12%)
OKLCHoklch(0.64 0.25 309.65)
CMYKcmyk(26% 69.2% 0% 1.96%)
Android#ffb94dfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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