Skip to content
Vectorlight.net

#782892

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

HEX
#782892
RGB
120, 40, 146
HSL
285.28°, 56.99%, 36.47%
OKLCH
0.45 0.17 316.52
Names
—
Lists

Codes

FormatValue
HEX#782892
RGBrgb(120 40 146)
HSLhsl(285.28 56.99% 36.47%)
OKLCHoklch(0.45 0.17 316.52)
CMYKcmyk(17.81% 72.6% 0% 42.75%)
Android#ff782892

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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