Skip to content
Vectorlight.net

#8041ff

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

HEX
#8041ff
RGB
128, 65, 255
HSL
259.89°, 100%, 62.75%
OKLCH
0.57 0.26 290.87
Names
—
Lists

Codes

FormatValue
HEX#8041ff
RGBrgb(128 65 255)
HSLhsl(259.89 100% 62.75%)
OKLCHoklch(0.57 0.26 290.87)
CMYKcmyk(49.8% 74.51% 0% 0%)
Android#ff8041ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8041ff;
background-color: #8041ff;
bg-[#8041ff]