Skip to content
Vectorlight.net

#9786de

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

HEX
#9786de
RGB
151, 134, 222
HSL
251.59°, 57.14%, 69.8%
OKLCH
0.67 0.13 291.42
Names
—
Lists

Codes

FormatValue
HEX#9786de
RGBrgb(151 134 222)
HSLhsl(251.59 57.14% 69.8%)
OKLCHoklch(0.67 0.13 291.42)
CMYKcmyk(31.98% 39.64% 0% 12.94%)
Android#ff9786de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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