Skip to content
Vectorlight.net

#b2afee

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

HEX
#b2afee
RGB
178, 175, 238
HSL
242.86°, 64.95%, 80.98%
OKLCH
0.78 0.09 286.31
Names
—
Lists

Codes

FormatValue
HEX#b2afee
RGBrgb(178 175 238)
HSLhsl(242.86 64.95% 80.98%)
OKLCHoklch(0.78 0.09 286.31)
CMYKcmyk(25.21% 26.47% 0% 6.67%)
Android#ffb2afee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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