Skip to content
Vectorlight.net

#9d96ea

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

HEX
#9d96ea
RGB
157, 150, 234
HSL
245°, 66.67%, 75.29%
OKLCH
0.71 0.12 286.71
Names
—
Lists

Codes

FormatValue
HEX#9d96ea
RGBrgb(157 150 234)
HSLhsl(245 66.67% 75.29%)
OKLCHoklch(0.71 0.12 286.71)
CMYKcmyk(32.91% 35.9% 0% 8.24%)
Android#ff9d96ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9d96ea;
background-color: #9d96ea;
bg-[#9d96ea]