Skip to content
Vectorlight.net

#b786ff

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

HEX
#b786ff
RGB
183, 134, 255
HSL
264.3°, 100%, 76.27%
OKLCH
0.72 0.18 300.77
Names
—
Lists

Codes

FormatValue
HEX#b786ff
RGBrgb(183 134 255)
HSLhsl(264.3 100% 76.27%)
OKLCHoklch(0.72 0.18 300.77)
CMYKcmyk(28.24% 47.45% 0% 0%)
Android#ffb786ff

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

Recolor an SVG with this color

CSS

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