Skip to content
Vectorlight.net

#b95efc

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

HEX
#b95efc
RGB
185, 94, 252
HSL
274.56°, 96.34%, 67.84%
OKLCH
0.66 0.23 307.78
Names
—
Lists

Codes

FormatValue
HEX#b95efc
RGBrgb(185 94 252)
HSLhsl(274.56 96.34% 67.84%)
OKLCHoklch(0.66 0.23 307.78)
CMYKcmyk(26.59% 62.7% 0% 1.18%)
Android#ffb95efc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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