Skip to content
Vectorlight.net

#7987ee

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

HEX
#7987ee
RGB
121, 135, 238
HSL
232.82°, 77.48%, 70.39%
OKLCH
0.66 0.15 275.55
Names
—
Lists

Codes

FormatValue
HEX#7987ee
RGBrgb(121 135 238)
HSLhsl(232.82 77.48% 70.39%)
OKLCHoklch(0.66 0.15 275.55)
CMYKcmyk(49.16% 43.28% 0% 6.67%)
Android#ff7987ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7987ee;
background-color: #7987ee;
bg-[#7987ee]