Skip to content
Vectorlight.net

#b291db

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

HEX
#b291db
RGB
178, 145, 219
HSL
266.76°, 50.68%, 71.37%
OKLCH
0.71 0.11 304.21
Names
—
Lists

Codes

FormatValue
HEX#b291db
RGBrgb(178 145 219)
HSLhsl(266.76 50.68% 71.37%)
OKLCHoklch(0.71 0.11 304.21)
CMYKcmyk(18.72% 33.79% 0% 14.12%)
Android#ffb291db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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