Skip to content
Vectorlight.net

#b5a2dd

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

HEX
#b5a2dd
RGB
181, 162, 221
HSL
259.32°, 46.46%, 75.1%
OKLCH
0.75 0.09 299.09
Names
—
Lists

Codes

FormatValue
HEX#b5a2dd
RGBrgb(181 162 221)
HSLhsl(259.32 46.46% 75.1%)
OKLCHoklch(0.75 0.09 299.09)
CMYKcmyk(18.1% 26.7% 0% 13.33%)
Android#ffb5a2dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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