Skip to content
Vectorlight.net

#9124cc

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

HEX
#9124cc
RGB
145, 36, 204
HSL
278.93°, 70%, 47.06%
OKLCH
0.52 0.24 309.43
Names
—
Lists

Codes

FormatValue
HEX#9124cc
RGBrgb(145 36 204)
HSLhsl(278.93 70% 47.06%)
OKLCHoklch(0.52 0.24 309.43)
CMYKcmyk(28.92% 82.35% 0% 20%)
Android#ff9124cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.30:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.32:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

color / background
color: #9124cc;
background-color: #9124cc;
bg-[#9124cc]