Skip to content
Vectorlight.net

#978dbd

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

HEX
#978dbd
RGB
151, 141, 189
HSL
252.5°, 26.67%, 64.71%
OKLCH
0.67 0.07 293.95
Names
—
Lists

Codes

FormatValue
HEX#978dbd
RGBrgb(151 141 189)
HSLhsl(252.5 26.67% 64.71%)
OKLCHoklch(0.67 0.07 293.95)
CMYKcmyk(20.11% 25.4% 0% 25.88%)
Android#ff978dbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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