Skip to content
Vectorlight.net

#7c387f

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

HEX
#7c387f
RGB
124, 56, 127
HSL
297.46°, 38.8%, 35.88%
OKLCH
0.46 0.13 325.85
Names
—
Lists

Codes

FormatValue
HEX#7c387f
RGBrgb(124 56 127)
HSLhsl(297.46 38.8% 35.88%)
OKLCHoklch(0.46 0.13 325.85)
CMYKcmyk(2.36% 55.91% 0% 50.2%)
Android#ff7c387f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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