Skip to content
Vectorlight.net

#7958fc

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

HEX
#7958fc
RGB
121, 88, 252
HSL
252.07°, 96.47%, 66.67%
OKLCH
0.59 0.23 286.13
Names
—
Lists

Codes

FormatValue
HEX#7958fc
RGBrgb(121 88 252)
HSLhsl(252.07 96.47% 66.67%)
OKLCHoklch(0.59 0.23 286.13)
CMYKcmyk(51.98% 65.08% 0% 1.18%)
Android#ff7958fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7958fc;
background-color: #7958fc;
bg-[#7958fc]