Skip to content
Vectorlight.net

#b291cd

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

HEX
#b291cd
RGB
178, 145, 205
HSL
273°, 37.5%, 68.63%
OKLCH
0.71 0.09 309.21
Names
—
Lists

Codes

FormatValue
HEX#b291cd
RGBrgb(178 145 205)
HSLhsl(273 37.5% 68.63%)
OKLCHoklch(0.71 0.09 309.21)
CMYKcmyk(13.17% 29.27% 0% 19.61%)
Android#ffb291cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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