Skip to content
Vectorlight.net

#9e7fbc

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

HEX
#9e7fbc
RGB
158, 127, 188
HSL
270.49°, 31.28%, 61.76%
OKLCH
0.65 0.1 307.17
Names
—
Lists

Codes

FormatValue
HEX#9e7fbc
RGBrgb(158 127 188)
HSLhsl(270.49 31.28% 61.76%)
OKLCHoklch(0.65 0.1 307.17)
CMYKcmyk(15.96% 32.45% 0% 26.27%)
Android#ff9e7fbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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