Skip to content
Vectorlight.net

#8138fb

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

HEX
#8138fb
RGB
129, 56, 251
HSL
262.46°, 96.06%, 60.2%
OKLCH
0.56 0.26 292.62
Names
—
Lists

Codes

FormatValue
HEX#8138fb
RGBrgb(129 56 251)
HSLhsl(262.46 96.06% 60.2%)
OKLCHoklch(0.56 0.26 292.62)
CMYKcmyk(48.61% 77.69% 0% 1.57%)
Android#ff8138fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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