Skip to content
Vectorlight.net

#7f4e81

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

HEX
#7f4e81
RGB
127, 78, 129
HSL
297.65°, 24.64%, 40.59%
OKLCH
0.5 0.1 325.54
Names
—
Lists

Codes

FormatValue
HEX#7f4e81
RGBrgb(127 78 129)
HSLhsl(297.65 24.64% 40.59%)
OKLCHoklch(0.5 0.1 325.54)
CMYKcmyk(1.55% 39.53% 0% 49.41%)
Android#ff7f4e81

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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