Skip to content
Vectorlight.net

#b95ce1

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

HEX
#b95ce1
RGB
185, 92, 225
HSL
281.95°, 68.91%, 62.16%
OKLCH
0.64 0.21 314.42
Names
—
Lists

Codes

FormatValue
HEX#b95ce1
RGBrgb(185 92 225)
HSLhsl(281.95 68.91% 62.16%)
OKLCHoklch(0.64 0.21 314.42)
CMYKcmyk(17.78% 59.11% 0% 11.76%)
Android#ffb95ce1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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