Skip to content
Vectorlight.net

#7662fd

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

HEX
#7662fd
RGB
118, 98, 253
HSL
247.74°, 97.48%, 68.82%
OKLCH
0.6 0.22 283.39
Names
—
Lists

Codes

FormatValue
HEX#7662fd
RGBrgb(118 98 253)
HSLhsl(247.74 97.48% 68.82%)
OKLCHoklch(0.6 0.22 283.39)
CMYKcmyk(53.36% 61.26% 0% 0.78%)
Android#ff7662fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7662fd;
background-color: #7662fd;
bg-[#7662fd]