Skip to content
Vectorlight.net

#b786ec

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

HEX
#b786ec
RGB
183, 134, 236
HSL
268.82°, 72.86%, 72.55%
OKLCH
0.71 0.15 304.99
Names
—
Lists

Codes

FormatValue
HEX#b786ec
RGBrgb(183 134 236)
HSLhsl(268.82 72.86% 72.55%)
OKLCHoklch(0.71 0.15 304.99)
CMYKcmyk(22.46% 43.22% 0% 7.45%)
Android#ffb786ec

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.63: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="#b786ec"
Gradient stop
<stop stop-color="#b786ec"/>
CSS variable + fill
:root { --c: #b786ec; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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