Skip to content
Vectorlight.net

#b291fb

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

HEX
#b291fb
RGB
178, 145, 251
HSL
258.68°, 92.98%, 77.65%
OKLCH
0.73 0.15 296.8
Names
—
Lists

Codes

FormatValue
HEX#b291fb
RGBrgb(178 145 251)
HSLhsl(258.68 92.98% 77.65%)
OKLCHoklch(0.73 0.15 296.8)
CMYKcmyk(29.08% 42.23% 0% 1.57%)
Android#ffb291fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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