Skip to content
Vectorlight.net

#b29ffc

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

HEX
#b29ffc
RGB
178, 159, 252
HSL
252.26°, 93.94%, 80.59%
OKLCH
0.76 0.13 292.32
Names
—
Lists

Codes

FormatValue
HEX#b29ffc
RGBrgb(178 159 252)
HSLhsl(252.26 93.94% 80.59%)
OKLCHoklch(0.76 0.13 292.32)
CMYKcmyk(29.37% 36.9% 0% 1.18%)
Android#ffb29ffc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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