Skip to content
Vectorlight.net

#804cbf

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

HEX
#804cbf
RGB
128, 76, 191
HSL
267.13°, 47.33%, 52.35%
OKLCH
0.53 0.17 301.57
Names
—
Lists

Codes

FormatValue
HEX#804cbf
RGBrgb(128 76 191)
HSLhsl(267.13 47.33% 52.35%)
OKLCHoklch(0.53 0.17 301.57)
CMYKcmyk(32.98% 60.21% 0% 25.1%)
Android#ff804cbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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