Skip to content
Vectorlight.net

#6142fe

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

HEX
#6142fe
RGB
97, 66, 254
HSL
249.89°, 98.95%, 62.75%
OKLCH
0.54 0.26 280.82
Names
—
Lists

Codes

FormatValue
HEX#6142fe
RGBrgb(97 66 254)
HSLhsl(249.89 98.95% 62.75%)
OKLCHoklch(0.54 0.26 280.82)
CMYKcmyk(61.81% 74.02% 0% 0.39%)
Android#ff6142fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6142fe;
background-color: #6142fe;
bg-[#6142fe]