Skip to content
Vectorlight.net

#7978ff

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

HEX
#7978ff
RGB
121, 120, 255
HSL
240.44°, 100%, 73.53%
OKLCH
0.64 0.2 279.71
Names
—
Lists

Codes

FormatValue
HEX#7978ff
RGBrgb(121 120 255)
HSLhsl(240.44 100% 73.53%)
OKLCHoklch(0.64 0.2 279.71)
CMYKcmyk(52.55% 52.94% 0% 0%)
Android#ff7978ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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