Skip to content
Vectorlight.net

#751fec

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

HEX
#751fec
RGB
117, 31, 236
HSL
265.17°, 84.36%, 52.35%
OKLCH
0.51 0.27 292.65
Names
—
Lists

Codes

FormatValue
HEX#751fec
RGBrgb(117 31 236)
HSLhsl(265.17 84.36% 52.35%)
OKLCHoklch(0.51 0.27 292.65)
CMYKcmyk(50.42% 86.86% 0% 7.45%)
Android#ff751fec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #751fec;
background-color: #751fec;
bg-[#751fec]