Skip to content
Vectorlight.net

#8138fc

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

HEX
#8138fc
RGB
129, 56, 252
HSL
262.35°, 97.03%, 60.39%
OKLCH
0.56 0.26 292.46
Names
—
Lists

Codes

FormatValue
HEX#8138fc
RGBrgb(129 56 252)
HSLhsl(262.35 97.03% 60.39%)
OKLCHoklch(0.56 0.26 292.46)
CMYKcmyk(48.81% 77.78% 0% 1.18%)
Android#ff8138fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8138fc;
background-color: #8138fc;
bg-[#8138fc]