Skip to content
Vectorlight.net

#817aef

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

HEX
#817aef
RGB
129, 122, 239
HSL
243.59°, 78.52%, 70.78%
OKLCH
0.64 0.17 283.19
Names
—
Lists

Codes

FormatValue
HEX#817aef
RGBrgb(129 122 239)
HSLhsl(243.59 78.52% 70.78%)
OKLCHoklch(0.64 0.17 283.19)
CMYKcmyk(46.03% 48.95% 0% 6.27%)
Android#ff817aef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #817aef;
background-color: #817aef;
bg-[#817aef]