Skip to content
Vectorlight.net

#804c94

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

HEX
#804c94
RGB
128, 76, 148
HSL
283.33°, 32.14%, 43.92%
OKLCH
0.51 0.12 315.99
Names
—
Lists

Codes

FormatValue
HEX#804c94
RGBrgb(128 76 148)
HSLhsl(283.33 32.14% 43.92%)
OKLCHoklch(0.51 0.12 315.99)
CMYKcmyk(13.51% 48.65% 0% 41.96%)
Android#ff804c94

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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