Skip to content
Vectorlight.net

#7997dc

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

HEX
#7997dc
RGB
121, 151, 220
HSL
221.82°, 58.58%, 66.86%
OKLCH
0.68 0.11 265.69
Names
—
Lists

Codes

FormatValue
HEX#7997dc
RGBrgb(121 151 220)
HSLhsl(221.82 58.58% 66.86%)
OKLCHoklch(0.68 0.11 265.69)
CMYKcmyk(45% 31.36% 0% 13.73%)
Android#ff7997dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7997dc;
background-color: #7997dc;
bg-[#7997dc]