Skip to content
Vectorlight.net

#9786ff

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

HEX
#9786ff
RGB
151, 134, 255
HSL
248.43°, 100%, 76.27%
OKLCH
0.69 0.17 287.41
Names
—
Lists

Codes

FormatValue
HEX#9786ff
RGBrgb(151 134 255)
HSLhsl(248.43 100% 76.27%)
OKLCHoklch(0.69 0.17 287.41)
CMYKcmyk(40.78% 47.45% 0% 0%)
Android#ff9786ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9786ff;
background-color: #9786ff;
bg-[#9786ff]