Skip to content
Vectorlight.net

#804fed

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

HEX
#804fed
RGB
128, 79, 237
HSL
258.61°, 81.44%, 61.96%
OKLCH
0.57 0.22 291.99
Names
—
Lists

Codes

FormatValue
HEX#804fed
RGBrgb(128 79 237)
HSLhsl(258.61 81.44% 61.96%)
OKLCHoklch(0.57 0.22 291.99)
CMYKcmyk(45.99% 66.67% 0% 7.06%)
Android#ff804fed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #804fed;
background-color: #804fed;
bg-[#804fed]