Skip to content
Vectorlight.net

#b5afee

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

HEX
#b5afee
RGB
181, 175, 238
HSL
245.71°, 64.95%, 80.98%
OKLCH
0.78 0.09 288.52
Names
—
Lists

Codes

FormatValue
HEX#b5afee
RGBrgb(181 175 238)
HSLhsl(245.71 64.95% 80.98%)
OKLCHoklch(0.78 0.09 288.52)
CMYKcmyk(23.95% 26.47% 0% 6.67%)
Android#ffb5afee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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