Skip to content
Vectorlight.net

#8041bb

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

HEX
#8041bb
RGB
128, 65, 187
HSL
270.98°, 48.41%, 49.41%
OKLCH
0.51 0.19 304.35
Names
—
Lists

Codes

FormatValue
HEX#8041bb
RGBrgb(128 65 187)
HSLhsl(270.98 48.41% 49.41%)
OKLCHoklch(0.51 0.19 304.35)
CMYKcmyk(31.55% 65.24% 0% 26.67%)
Android#ff8041bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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