Skip to content
Vectorlight.net

#b5a2ed

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

HEX
#b5a2ed
RGB
181, 162, 237
HSL
255.2°, 67.57%, 78.24%
OKLCH
0.76 0.11 295.34
Names
—
Lists

Codes

FormatValue
HEX#b5a2ed
RGBrgb(181 162 237)
HSLhsl(255.2 67.57% 78.24%)
OKLCHoklch(0.76 0.11 295.34)
CMYKcmyk(23.63% 31.65% 0% 7.06%)
Android#ffb5a2ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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