Skip to content
Vectorlight.net

#7f3eff

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

HEX
#7f3eff
RGB
127, 62, 255
HSL
260.21°, 100%, 62.16%
OKLCH
0.56 0.26 290.81
Names
—
Lists

Codes

FormatValue
HEX#7f3eff
RGBrgb(127 62 255)
HSLhsl(260.21 100% 62.16%)
OKLCHoklch(0.56 0.26 290.81)
CMYKcmyk(50.2% 75.69% 0% 0%)
Android#ff7f3eff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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