Skip to content
Vectorlight.net

#8938fe

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

HEX
#8938fe
RGB
137, 56, 254
HSL
264.55°, 99%, 60.78%
OKLCH
0.57 0.27 294.81
Names
—
Lists

Codes

FormatValue
HEX#8938fe
RGBrgb(137 56 254)
HSLhsl(264.55 99% 60.78%)
OKLCHoklch(0.57 0.27 294.81)
CMYKcmyk(46.06% 77.95% 0% 0.39%)
Android#ff8938fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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