Skip to content
Vectorlight.net

#b2afca

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

HEX
#b2afca
RGB
178, 175, 202
HSL
246.67°, 20.3%, 73.92%
OKLCH
0.77 0.04 290.56
Names
—
Lists

Codes

FormatValue
HEX#b2afca
RGBrgb(178 175 202)
HSLhsl(246.67 20.3% 73.92%)
OKLCHoklch(0.77 0.04 290.56)
CMYKcmyk(11.88% 13.37% 0% 20.78%)
Android#ffb2afca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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