Skip to content
Vectorlight.net

#7987cb

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

HEX
#7987cb
RGB
121, 135, 203
HSL
229.76°, 44.09%, 63.53%
OKLCH
0.64 0.1 274.25
Names
—
Lists

Codes

FormatValue
HEX#7987cb
RGBrgb(121 135 203)
HSLhsl(229.76 44.09% 63.53%)
OKLCHoklch(0.64 0.1 274.25)
CMYKcmyk(40.39% 33.5% 0% 20.39%)
Android#ff7987cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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