Skip to content
Vectorlight.net

#8173ed

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

HEX
#8173ed
RGB
129, 115, 237
HSL
246.89°, 77.22%, 69.02%
OKLCH
0.63 0.18 285.31
Names
—
Lists

Codes

FormatValue
HEX#8173ed
RGBrgb(129 115 237)
HSLhsl(246.89 77.22% 69.02%)
OKLCHoklch(0.63 0.18 285.31)
CMYKcmyk(45.57% 51.48% 0% 7.06%)
Android#ff8173ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8173ed;
background-color: #8173ed;
bg-[#8173ed]