Skip to content
Vectorlight.net

#804fba

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

HEX
#804fba
RGB
128, 79, 186
HSL
267.48°, 43.67%, 51.96%
OKLCH
0.53 0.16 302.29
Names
—
Lists

Codes

FormatValue
HEX#804fba
RGBrgb(128 79 186)
HSLhsl(267.48 43.67% 51.96%)
OKLCHoklch(0.53 0.16 302.29)
CMYKcmyk(31.18% 57.53% 0% 27.06%)
Android#ff804fba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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