Skip to content
Vectorlight.net

#b296e5

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

HEX
#b296e5
RGB
178, 150, 229
HSL
261.27°, 60.31%, 74.31%
OKLCH
0.73 0.12 299.84
Names
—
Lists

Codes

FormatValue
HEX#b296e5
RGBrgb(178 150 229)
HSLhsl(261.27 60.31% 74.31%)
OKLCHoklch(0.73 0.12 299.84)
CMYKcmyk(22.27% 34.5% 0% 10.2%)
Android#ffb296e5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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