Skip to content
Vectorlight.net

#b59dfe

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

HEX
#b59dfe
RGB
181, 157, 254
HSL
254.85°, 97.98%, 80.59%
OKLCH
0.75 0.14 294.22
Names
—
Lists

Codes

FormatValue
HEX#b59dfe
RGBrgb(181 157 254)
HSLhsl(254.85 97.98% 80.59%)
OKLCHoklch(0.75 0.14 294.22)
CMYKcmyk(28.74% 38.19% 0% 0.39%)
Android#ffb59dfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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