Skip to content
Vectorlight.net

#b2afeb

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

HEX
#b2afeb
RGB
178, 175, 235
HSL
243°, 60%, 80.39%
OKLCH
0.78 0.08 286.53
Names
—
Lists

Codes

FormatValue
HEX#b2afeb
RGBrgb(178 175 235)
HSLhsl(243 60% 80.39%)
OKLCHoklch(0.78 0.08 286.53)
CMYKcmyk(24.26% 25.53% 0% 7.84%)
Android#ffb2afeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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