Skip to content
Vectorlight.net

#9b7dee

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

HEX
#9b7dee
RGB
155, 125, 238
HSL
255.93°, 76.87%, 71.18%
OKLCH
0.67 0.16 293.72
Names
—
Lists

Codes

FormatValue
HEX#9b7dee
RGBrgb(155 125 238)
HSLhsl(255.93 76.87% 71.18%)
OKLCHoklch(0.67 0.16 293.72)
CMYKcmyk(34.87% 47.48% 0% 6.67%)
Android#ff9b7dee

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

Recolor an SVG with this color

CSS

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