Skip to content
Vectorlight.net

#9159ca

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

HEX
#9159ca
RGB
145, 89, 202
HSL
269.73°, 51.6%, 57.06%
OKLCH
0.58 0.17 304.43
Names
—
Lists

Codes

FormatValue
HEX#9159ca
RGBrgb(145 89 202)
HSLhsl(269.73 51.6% 57.06%)
OKLCHoklch(0.58 0.17 304.43)
CMYKcmyk(28.22% 55.94% 0% 20.78%)
Android#ff9159ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9159ca;
background-color: #9159ca;
bg-[#9159ca]