Skip to content
Vectorlight.net

#7f6eca

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

HEX
#7f6eca
RGB
127, 110, 202
HSL
251.09°, 46.46%, 61.18%
OKLCH
0.6 0.14 290.08
Names
—
Lists

Codes

FormatValue
HEX#7f6eca
RGBrgb(127 110 202)
HSLhsl(251.09 46.46% 61.18%)
OKLCHoklch(0.6 0.14 290.08)
CMYKcmyk(37.13% 45.54% 0% 20.78%)
Android#ff7f6eca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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