Skip to content
Vectorlight.net

#b28ada

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

HEX
#b28ada
RGB
178, 138, 218
HSL
270°, 51.95%, 69.8%
OKLCH
0.7 0.12 306.48
Names
—
Lists

Codes

FormatValue
HEX#b28ada
RGBrgb(178 138 218)
HSLhsl(270 51.95% 69.8%)
OKLCHoklch(0.7 0.12 306.48)
CMYKcmyk(18.35% 36.7% 0% 14.51%)
Android#ffb28ada

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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