Skip to content
Vectorlight.net

#7e98eb

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

HEX
#7e98eb
RGB
126, 152, 235
HSL
225.69°, 73.15%, 70.78%
OKLCH
0.69 0.13 269.72
Names
—
Lists

Codes

FormatValue
HEX#7e98eb
RGBrgb(126 152 235)
HSLhsl(225.69 73.15% 70.78%)
OKLCHoklch(0.69 0.13 269.72)
CMYKcmyk(46.38% 35.32% 0% 7.84%)
Android#ff7e98eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7e98eb;
background-color: #7e98eb;
bg-[#7e98eb]