Skip to content
Vectorlight.net

#b786eb

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

HEX
#b786eb
RGB
183, 134, 235
HSL
269.11°, 71.63%, 72.35%
OKLCH
0.71 0.15 305.24
Names
—
Lists

Codes

FormatValue
HEX#b786eb
RGBrgb(183 134 235)
HSLhsl(269.11 71.63% 72.35%)
OKLCHoklch(0.71 0.15 305.24)
CMYKcmyk(22.13% 42.98% 0% 7.84%)
Android#ffb786eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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