Skip to content
Vectorlight.net

#978eec

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

HEX
#978eec
RGB
151, 142, 236
HSL
245.74°, 71.21%, 74.12%
OKLCH
0.69 0.14 286.67
Names
—
Lists

Codes

FormatValue
HEX#978eec
RGBrgb(151 142 236)
HSLhsl(245.74 71.21% 74.12%)
OKLCHoklch(0.69 0.14 286.67)
CMYKcmyk(36.02% 39.83% 0% 7.45%)
Android#ff978eec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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