Skip to content
Vectorlight.net

#7a2ebf

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

HEX
#7a2ebf
RGB
122, 46, 191
HSL
271.45°, 61.18%, 46.47%
OKLCH
0.49 0.21 302.97
Names
—
Lists

Codes

FormatValue
HEX#7a2ebf
RGBrgb(122 46 191)
HSLhsl(271.45 61.18% 46.47%)
OKLCHoklch(0.49 0.21 302.97)
CMYKcmyk(36.13% 75.92% 0% 25.1%)
Android#ff7a2ebf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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