Skip to content
Vectorlight.net

#78298f

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

HEX
#78298f
RGB
120, 41, 143
HSL
286.47°, 55.43%, 36.08%
OKLCH
0.44 0.17 317.59
Names
—
Lists

Codes

FormatValue
HEX#78298f
RGBrgb(120 41 143)
HSLhsl(286.47 55.43% 36.08%)
OKLCHoklch(0.44 0.17 317.59)
CMYKcmyk(16.08% 71.33% 0% 43.92%)
Android#ff78298f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
8.35: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="#78298f"
Gradient stop
<stop stop-color="#78298f"/>
CSS variable + fill
:root { --c: #78298f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #78298f;
background-color: #78298f;
bg-[#78298f]