Skip to content
Vectorlight.net

#7978df

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

HEX
#7978df
RGB
121, 120, 223
HSL
240.58°, 61.68%, 67.25%
OKLCH
0.62 0.15 281.46
Names
—
Lists

Codes

FormatValue
HEX#7978df
RGBrgb(121 120 223)
HSLhsl(240.58 61.68% 67.25%)
OKLCHoklch(0.62 0.15 281.46)
CMYKcmyk(45.74% 46.19% 0% 12.55%)
Android#ff7978df

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.77:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.56:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#7978df"
Gradient stop
<stop stop-color="#7978df"/>
CSS variable + fill
:root { --c: #7978df; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #7978df;
background-color: #7978df;
bg-[#7978df]