Skip to content
Vectorlight.net

#b291ef

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

HEX
#b291ef
RGB
178, 145, 239
HSL
261.06°, 74.6%, 75.29%
OKLCH
0.72 0.14 299.13
Names
—
Lists

Codes

FormatValue
HEX#b291ef
RGBrgb(178 145 239)
HSLhsl(261.06 74.6% 75.29%)
OKLCHoklch(0.72 0.14 299.13)
CMYKcmyk(25.52% 39.33% 0% 6.27%)
Android#ffb291ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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