Skip to content
Vectorlight.net

#8041fd

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

HEX
#8041fd
RGB
128, 65, 253
HSL
260.11°, 97.92%, 62.35%
OKLCH
0.57 0.26 291.17
Names
—
Lists

Codes

FormatValue
HEX#8041fd
RGBrgb(128 65 253)
HSLhsl(260.11 97.92% 62.35%)
OKLCHoklch(0.57 0.26 291.17)
CMYKcmyk(49.41% 74.31% 0% 0.78%)
Android#ff8041fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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