Skip to content
Vectorlight.net

#7982fa

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

HEX
#7982fa
RGB
121, 130, 250
HSL
235.81°, 92.81%, 72.75%
OKLCH
0.66 0.18 277.17
Names
—
Lists

Codes

FormatValue
HEX#7982fa
RGBrgb(121 130 250)
HSLhsl(235.81 92.81% 72.75%)
OKLCHoklch(0.66 0.18 277.17)
CMYKcmyk(51.6% 48% 0% 1.96%)
Android#ff7982fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7982fa;
background-color: #7982fa;
bg-[#7982fa]