Skip to content
Vectorlight.net

#784eda

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

HEX
#784eda
RGB
120, 78, 218
HSL
258°, 65.42%, 58.04%
OKLCH
0.55 0.2 292.13
Names
—
Lists

Codes

FormatValue
HEX#784eda
RGBrgb(120 78 218)
HSLhsl(258 65.42% 58.04%)
OKLCHoklch(0.55 0.2 292.13)
CMYKcmyk(44.95% 64.22% 0% 14.51%)
Android#ff784eda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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