Skip to content
Vectorlight.net

#784a7c

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

HEX
#784a7c
RGB
120, 74, 124
HSL
295.2°, 25.25%, 38.82%
OKLCH
0.48 0.1 324.07
Names
—
Lists

Codes

FormatValue
HEX#784a7c
RGBrgb(120 74 124)
HSLhsl(295.2 25.25% 38.82%)
OKLCHoklch(0.48 0.1 324.07)
CMYKcmyk(3.23% 40.32% 0% 51.37%)
Android#ff784a7c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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