Skip to content
Vectorlight.net

#8338fe

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

HEX
#8338fe
RGB
131, 56, 254
HSL
262.73°, 99%, 60.78%
OKLCH
0.56 0.27 292.81
Names
—
Lists

Codes

FormatValue
HEX#8338fe
RGBrgb(131 56 254)
HSLhsl(262.73 99% 60.78%)
OKLCHoklch(0.56 0.27 292.81)
CMYKcmyk(48.43% 77.95% 0% 0.39%)
Android#ff8338fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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