Skip to content
Vectorlight.net

#b4acfc

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

HEX
#b4acfc
RGB
180, 172, 252
HSL
246°, 93.02%, 83.14%
OKLCH
0.78 0.11 288.07
Names
—
Lists

Codes

FormatValue
HEX#b4acfc
RGBrgb(180 172 252)
HSLhsl(246 93.02% 83.14%)
OKLCHoklch(0.78 0.11 288.07)
CMYKcmyk(28.57% 31.75% 0% 1.18%)
Android#ffb4acfc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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