Skip to content
Vectorlight.net

#9785ce

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

HEX
#9785ce
RGB
151, 133, 206
HSL
254.79°, 42.69%, 66.47%
OKLCH
0.66 0.11 294.6
Names
—
Lists

Codes

FormatValue
HEX#9785ce
RGBrgb(151 133 206)
HSLhsl(254.79 42.69% 66.47%)
OKLCHoklch(0.66 0.11 294.6)
CMYKcmyk(26.7% 35.44% 0% 19.22%)
Android#ff9785ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9785ce;
background-color: #9785ce;
bg-[#9785ce]