Skip to content
Vectorlight.net

#b2aafa

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

HEX
#b2aafa
RGB
178, 170, 250
HSL
246°, 88.89%, 82.35%
OKLCH
0.77 0.11 288.04
Names
—
Lists

Codes

FormatValue
HEX#b2aafa
RGBrgb(178 170 250)
HSLhsl(246 88.89% 82.35%)
OKLCHoklch(0.77 0.11 288.04)
CMYKcmyk(28.8% 32% 0% 1.96%)
Android#ffb2aafa

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

Recolor an SVG with this color

CSS

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