Skip to content
Vectorlight.net

#7802ba

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

HEX
#7802ba
RGB
120, 2, 186
HSL
278.48°, 97.87%, 36.86%
OKLCH
0.46 0.23 305.86
Names
—
Lists

Codes

FormatValue
HEX#7802ba
RGBrgb(120 2 186)
HSLhsl(278.48 97.87% 36.86%)
OKLCHoklch(0.46 0.23 305.86)
CMYKcmyk(35.48% 98.92% 0% 27.06%)
Android#ff7802ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7802ba;
background-color: #7802ba;
bg-[#7802ba]