Skip to content
Vectorlight.net

#7f5fed

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

HEX
#7f5fed
RGB
127, 95, 237
HSL
253.52°, 79.78%, 65.1%
OKLCH
0.59 0.2 288.99
Names
—
Lists

Codes

FormatValue
HEX#7f5fed
RGBrgb(127 95 237)
HSLhsl(253.52 79.78% 65.1%)
OKLCHoklch(0.59 0.2 288.99)
CMYKcmyk(46.41% 59.92% 0% 7.06%)
Android#ff7f5fed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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