Skip to content
Vectorlight.net

#979dec

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

HEX
#979dec
RGB
151, 157, 236
HSL
235.76°, 69.11%, 75.88%
OKLCH
0.72 0.11 279.78
Names
—
Lists

Codes

FormatValue
HEX#979dec
RGBrgb(151 157 236)
HSLhsl(235.76 69.11% 75.88%)
OKLCHoklch(0.72 0.11 279.78)
CMYKcmyk(36.02% 33.47% 0% 7.45%)
Android#ff979dec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #979dec;
background-color: #979dec;
bg-[#979dec]