Skip to content
Vectorlight.net

#b28dea

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

HEX
#b28dea
RGB
178, 141, 234
HSL
263.87°, 68.89%, 73.53%
OKLCH
0.71 0.14 301.36
Names
—
Lists

Codes

FormatValue
HEX#b28dea
RGBrgb(178 141 234)
HSLhsl(263.87 68.89% 73.53%)
OKLCHoklch(0.71 0.14 301.36)
CMYKcmyk(23.93% 39.74% 0% 8.24%)
Android#ffb28dea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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