Skip to content
Vectorlight.net

#8158fe

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

HEX
#8158fe
RGB
129, 88, 254
HSL
254.82°, 98.81%, 67.06%
OKLCH
0.6 0.23 288.63
Names
—
Lists

Codes

FormatValue
HEX#8158fe
RGBrgb(129 88 254)
HSLhsl(254.82 98.81% 67.06%)
OKLCHoklch(0.6 0.23 288.63)
CMYKcmyk(49.21% 65.35% 0% 0.39%)
Android#ff8158fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8158fe;
background-color: #8158fe;
bg-[#8158fe]