#800080

Purple is a dark, vivid shade in the pink color family, with a warm feel. Its HEX code is #800080, which equals rgb(128, 0, 128) in RGB and hsl(300, 100%, 25%) in HSL. In print terms it converts to roughly C0 M100 Y0 K50, although exact CMYK results depend on the paper and color profile.

  • HEX#800080
  • RGB128, 0, 128
  • HSL300°, 100%, 25%
  • CMYK0, 100, 0, 50
  • FamilyPink
  • ToneDark, vivid

About Purple

Pink shades range from soft pastels to vivid magentas. They can feel gentle and romantic or loud and modern, depending on saturation and lightness. Designers often reach for it as an accent, a button color or a background tint. Text in white is the most readable choice on this color, with a contrast ratio of 9.42:1. Its complementary color is #008000.

Download Purple as an image

Choose a size and format, then download a solid-color image — or tick colors in the library to batch-download a ZIP.

Loading colors…

Custom color

#3B82F6

Shade scale

Tip: tick the checkbox on any swatch to add it to a batch ZIP. Everything is generated in your browser — nothing is uploaded to a server.

Purple color codes

HEX#800080
RGBrgb(128, 0, 128)
HSLhsl(300, 100%, 25%)
HSV300°, 100%, 50%
CMYK0%, 100%, 0%, 50%
Decimal8388736

Shades and tints of Purple

Lighter tints are mixed with white and darker shades are mixed with black.

  • 50#EAD5EA
  • 100#D5AAD5
  • 200#C080C0
  • 300#AA55AA
  • 400#952B95
  • 500#800080
  • 600#6B006B
  • 700#550055
  • 800#400040
  • 900#2B002B
  • 950#150015

Color harmonies for Purple

Contrast and accessibility of Purple

Text colorSampleContrast ratioWCAG
White text on PurpleAa9.42:1AAA (excellent)
Black text on PurpleAa2.23:1Fails

CSS code for Purple

background-color: #800080;color: #800080;background-color: rgb(128, 0, 128);background-color: hsl(300, 100%, 25%);:root { --color-purple: #800080; }class="bg-[#800080]"

Colors similar to Purple

More pink shades

See all pink shades →

Frequently asked questions

What is the HEX code for Purple?

The HEX code for Purple is #800080.

What is the RGB value of Purple?

Purple has an RGB value of 128, 0, 128 (rgb(128, 0, 128)). In HSL it is 300°, 100%, 25%.

What text color should I use on Purple?

Use white text on Purple. White text has a contrast ratio of 9.42:1 and black text has 2.23:1; WCAG AA requires at least 4.5:1 for normal text.

What color goes well with Purple?

The complementary color of Purple is #008000. Analogous colors #400080 and #800040 also pair well.

Explore more