Skip to content
Vectorlight.net

#978ef7

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

HEX
#978ef7
RGB
151, 142, 247
HSL
245.14°, 86.78%, 76.27%
OKLCH
0.7 0.15 285.71
Names
—
Lists

Codes

FormatValue
HEX#978ef7
RGBrgb(151 142 247)
HSLhsl(245.14 86.78% 76.27%)
OKLCHoklch(0.7 0.15 285.71)
CMYKcmyk(38.87% 42.51% 0% 3.14%)
Android#ff978ef7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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