Skip to content
Vectorlight.net

#7981ef

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

HEX
#7981ef
RGB
121, 129, 239
HSL
235.93°, 78.67%, 70.59%
OKLCH
0.65 0.16 277.72
Names
—
Lists

Codes

FormatValue
HEX#7981ef
RGBrgb(121 129 239)
HSLhsl(235.93 78.67% 70.59%)
OKLCHoklch(0.65 0.16 277.72)
CMYKcmyk(49.37% 46.03% 0% 6.27%)
Android#ff7981ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7981ef;
background-color: #7981ef;
bg-[#7981ef]