Skip to content
Vectorlight.net

#b2afda

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

HEX
#b2afda
RGB
178, 175, 218
HSL
244.19°, 36.75%, 77.06%
OKLCH
0.77 0.06 288.07
Names
—
Lists

Codes

FormatValue
HEX#b2afda
RGBrgb(178 175 218)
HSLhsl(244.19 36.75% 77.06%)
OKLCHoklch(0.77 0.06 288.07)
CMYKcmyk(18.35% 19.72% 0% 14.51%)
Android#ffb2afda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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