Skip to content
Vectorlight.net

#b99dfd

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

HEX
#b99dfd
RGB
185, 157, 253
HSL
257.5°, 96%, 80.39%
OKLCH
0.76 0.14 296.4
Names
—
Lists

Codes

FormatValue
HEX#b99dfd
RGBrgb(185 157 253)
HSLhsl(257.5 96% 80.39%)
OKLCHoklch(0.76 0.14 296.4)
CMYKcmyk(26.88% 37.94% 0% 0.78%)
Android#ffb99dfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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