Skip to content
Vectorlight.net

#b995fb

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

HEX
#b995fb
RGB
185, 149, 251
HSL
261.18°, 92.73%, 78.43%
OKLCH
0.74 0.15 299.05
Names
—
Lists

Codes

FormatValue
HEX#b995fb
RGBrgb(185 149 251)
HSLhsl(261.18 92.73% 78.43%)
OKLCHoklch(0.74 0.15 299.05)
CMYKcmyk(26.29% 40.64% 0% 1.57%)
Android#ffb995fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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