Skip to content
Vectorlight.net

#7943aa

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

HEX
#7943aa
RGB
121, 67, 170
HSL
271.46°, 43.46%, 46.47%
OKLCH
0.5 0.16 305.46
Names
—
Lists

Codes

FormatValue
HEX#7943aa
RGBrgb(121 67 170)
HSLhsl(271.46 43.46% 46.47%)
OKLCHoklch(0.5 0.16 305.46)
CMYKcmyk(28.82% 60.59% 0% 33.33%)
Android#ff7943aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7943aa;
background-color: #7943aa;
bg-[#7943aa]