Skip to content
Vectorlight.net

#6248eb

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

HEX
#6248eb
RGB
98, 72, 235
HSL
249.57°, 80.3%, 60.2%
OKLCH
0.53 0.23 282.43
Names
—
Lists

Codes

FormatValue
HEX#6248eb
RGBrgb(98 72 235)
HSLhsl(249.57 80.3% 60.2%)
OKLCHoklch(0.53 0.23 282.43)
CMYKcmyk(58.3% 69.36% 0% 7.84%)
Android#ff6248eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.64:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#6248eb"
Gradient stop
<stop stop-color="#6248eb"/>
CSS variable + fill
:root { --c: #6248eb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #6248eb;
background-color: #6248eb;
bg-[#6248eb]