Skip to content
Vectorlight.net

#b59afd

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

HEX
#b59afd
RGB
181, 154, 253
HSL
256.36°, 96.12%, 79.8%
OKLCH
0.75 0.14 295.33
Names
—
Lists

Codes

FormatValue
HEX#b59afd
RGBrgb(181 154 253)
HSLhsl(256.36 96.12% 79.8%)
OKLCHoklch(0.75 0.14 295.33)
CMYKcmyk(28.46% 39.13% 0% 0.78%)
Android#ffb59afd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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