Skip to content
Vectorlight.net

#b945ff

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

HEX
#b945ff
RGB
185, 69, 255
HSL
277.42°, 100%, 63.53%
OKLCH
0.64 0.26 309.14
Names
—
Lists

Codes

FormatValue
HEX#b945ff
RGBrgb(185 69 255)
HSLhsl(277.42 100% 63.53%)
OKLCHoklch(0.64 0.26 309.14)
CMYKcmyk(27.45% 72.94% 0% 0%)
Android#ffb945ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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