Skip to content
Vectorlight.net

#804daa

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

HEX
#804daa
RGB
128, 77, 170
HSL
272.9°, 37.65%, 48.43%
OKLCH
0.52 0.15 307.35
Names
—
Lists

Codes

FormatValue
HEX#804daa
RGBrgb(128 77 170)
HSLhsl(272.9 37.65% 48.43%)
OKLCHoklch(0.52 0.15 307.35)
CMYKcmyk(24.71% 54.71% 0% 33.33%)
Android#ff804daa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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