Skip to content
Vectorlight.net

#7342ac

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

HEX
#7342ac
RGB
115, 66, 172
HSL
267.74°, 44.54%, 46.67%
OKLCH
0.49 0.16 301.97
Names
—
Lists

Codes

FormatValue
HEX#7342ac
RGBrgb(115 66 172)
HSLhsl(267.74 44.54% 46.67%)
OKLCHoklch(0.49 0.16 301.97)
CMYKcmyk(33.14% 61.63% 0% 32.55%)
Android#ff7342ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7342ac;
background-color: #7342ac;
bg-[#7342ac]