Skip to content
Vectorlight.net

#804fce

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

HEX
#804fce
RGB
128, 79, 206
HSL
263.15°, 56.44%, 55.88%
OKLCH
0.55 0.19 297.6
Names
—
Lists

Codes

FormatValue
HEX#804fce
RGBrgb(128 79 206)
HSLhsl(263.15 56.44% 55.88%)
OKLCHoklch(0.55 0.19 297.6)
CMYKcmyk(37.86% 61.65% 0% 19.22%)
Android#ff804fce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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