Skip to content
Vectorlight.net

#b940da

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

HEX
#b940da
RGB
185, 64, 218
HSL
287.14°, 67.54%, 55.29%
OKLCH
0.61 0.24 318.08
Names
—
Lists

Codes

FormatValue
HEX#b940da
RGBrgb(185 64 218)
HSLhsl(287.14 67.54% 55.29%)
OKLCHoklch(0.61 0.24 318.08)
CMYKcmyk(15.14% 70.64% 0% 14.51%)
Android#ffb940da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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