Skip to content
Vectorlight.net

#7138aa

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

HEX
#7138aa
RGB
113, 56, 170
HSL
270°, 50.44%, 44.31%
OKLCH
0.47 0.18 303.22
Names
—
Lists

Codes

FormatValue
HEX#7138aa
RGBrgb(113 56 170)
HSLhsl(270 50.44% 44.31%)
OKLCHoklch(0.47 0.18 303.22)
CMYKcmyk(33.53% 67.06% 0% 33.33%)
Android#ff7138aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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