Skip to content
Vectorlight.net

#9c4efe

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

HEX
#9c4efe
RGB
156, 78, 254
HSL
266.59°, 98.88%, 65.1%
OKLCH
0.61 0.25 299.18
Names
—
Lists

Codes

FormatValue
HEX#9c4efe
RGBrgb(156 78 254)
HSLhsl(266.59 98.88% 65.1%)
OKLCHoklch(0.61 0.25 299.18)
CMYKcmyk(38.58% 69.29% 0% 0.39%)
Android#ff9c4efe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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