Skip to content
Vectorlight.net

#784a7e

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

HEX
#784a7e
RGB
120, 74, 126
HSL
293.08°, 26%, 39.22%
OKLCH
0.48 0.1 322.75
Names
—
Lists

Codes

FormatValue
HEX#784a7e
RGBrgb(120 74 126)
HSLhsl(293.08 26% 39.22%)
OKLCHoklch(0.48 0.1 322.75)
CMYKcmyk(4.76% 41.27% 0% 50.59%)
Android#ff784a7e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #784a7e;
background-color: #784a7e;
bg-[#784a7e]