Skip to content
Vectorlight.net

#9159eb

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

HEX
#9159eb
RGB
145, 89, 235
HSL
263.01°, 78.49%, 63.53%
OKLCH
0.6 0.21 297.29
Names
—
Lists

Codes

FormatValue
HEX#9159eb
RGBrgb(145 89 235)
HSLhsl(263.01 78.49% 63.53%)
OKLCHoklch(0.6 0.21 297.29)
CMYKcmyk(38.3% 62.13% 0% 7.84%)
Android#ff9159eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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