Skip to content
Vectorlight.net

#b286dd

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

HEX
#b286dd
RGB
178, 134, 221
HSL
270.34°, 56.13%, 69.61%
OKLCH
0.7 0.13 306.54
Names
—
Lists

Codes

FormatValue
HEX#b286dd
RGBrgb(178 134 221)
HSLhsl(270.34 56.13% 69.61%)
OKLCHoklch(0.7 0.13 306.54)
CMYKcmyk(19.46% 39.37% 0% 13.33%)
Android#ffb286dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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