Skip to content
Vectorlight.net

#783174

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

HEX
#783174
RGB
120, 49, 116
HSL
303.38°, 42.01%, 33.14%
OKLCH
0.44 0.13 329.77
Names
—
Lists

Codes

FormatValue
HEX#783174
RGBrgb(120 49 116)
HSLhsl(303.38 42.01% 33.14%)
OKLCHoklch(0.44 0.13 329.77)
CMYKcmyk(0% 59.17% 3.33% 52.94%)
Android#ff783174

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #783174;
background-color: #783174;
bg-[#783174]