Skip to content
Vectorlight.net

purple (#800080)

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

HEX
#800080
RGB
128, 0, 128
HSL
300°, 100%, 25.1%
OKLCH
0.42 0.19 328.36
Names
purple
Lists

Codes

FormatValue
HEX#800080
RGBrgb(128 0 128)
HSLhsl(300 100% 25.1%)
OKLCHoklch(0.42 0.19 328.36)
CMYKcmyk(0% 100% 0% 49.8%)
Android#ff800080

Names & lists

purple CSS named

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #800080;
background-color: #800080;
bg-[#800080]