Skip to content
Vectorlight.net

#b2afcc

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

HEX
#b2afcc
RGB
178, 175, 204
HSL
246.21°, 22.14%, 74.31%
OKLCH
0.77 0.04 290.14
Names
—
Lists

Codes

FormatValue
HEX#b2afcc
RGBrgb(178 175 204)
HSLhsl(246.21 22.14% 74.31%)
OKLCHoklch(0.77 0.04 290.14)
CMYKcmyk(12.75% 14.22% 0% 20%)
Android#ffb2afcc

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.89: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="#b2afcc"
Gradient stop
<stop stop-color="#b2afcc"/>
CSS variable + fill
:root { --c: #b2afcc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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