Skip to content
Vectorlight.net

#978dcb

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

HEX
#978dcb
RGB
151, 141, 203
HSL
249.68°, 37.35%, 67.45%
OKLCH
0.68 0.09 291.16
Names
—
Lists

Codes

FormatValue
HEX#978dcb
RGBrgb(151 141 203)
HSLhsl(249.68 37.35% 67.45%)
OKLCHoklch(0.68 0.09 291.16)
CMYKcmyk(25.62% 30.54% 0% 20.39%)
Android#ff978dcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #978dcb;
background-color: #978dcb;
bg-[#978dcb]