Skip to content
Vectorlight.net

#b945ef

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

HEX
#b945ef
RGB
185, 69, 239
HSL
280.94°, 84.16%, 60.39%
OKLCH
0.62 0.25 312.64
Names
—
Lists

Codes

FormatValue
HEX#b945ef
RGBrgb(185 69 239)
HSLhsl(280.94 84.16% 60.39%)
OKLCHoklch(0.62 0.25 312.64)
CMYKcmyk(22.59% 71.13% 0% 6.27%)
Android#ffb945ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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