Skip to content
Vectorlight.net

#794eac

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

HEX
#794eac
RGB
121, 78, 172
HSL
267.45°, 37.6%, 49.02%
OKLCH
0.52 0.15 302.69
Names
—
Lists

Codes

FormatValue
HEX#794eac
RGBrgb(121 78 172)
HSLhsl(267.45 37.6% 49.02%)
OKLCHoklch(0.52 0.15 302.69)
CMYKcmyk(29.65% 54.65% 0% 32.55%)
Android#ff794eac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #794eac;
background-color: #794eac;
bg-[#794eac]