Skip to content
Vectorlight.net

#8046ea

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

HEX
#8046ea
RGB
128, 70, 234
HSL
261.22°, 79.61%, 59.61%
OKLCH
0.56 0.23 293.66
Names
—
Lists

Codes

FormatValue
HEX#8046ea
RGBrgb(128 70 234)
HSLhsl(261.22 79.61% 59.61%)
OKLCHoklch(0.56 0.23 293.66)
CMYKcmyk(45.3% 70.09% 0% 8.24%)
Android#ff8046ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8046ea;
background-color: #8046ea;
bg-[#8046ea]