Skip to content
  • No data uploaded
  • Instant results

Purple — #800080

Purple is the CSS named colour purple, hex #800080. It has a contrast ratio of 9.42:1 on white and 2.23:1 on black — readable as text on white backgrounds (WCAG AA).

Purple — #800080

Contrast on white 9.42:1 · on black 2.23:1

Tints
Shades
Complementary
Triadic
Analogous

Free Purple — #800080 by pGento

Using Purple in code

CSS: color: purple; or color: #800080; · Tailwind: text-[#800080] · Android/Flutter: 0xFF800080

Purple colour harmonies

Complementary: #008000 · Triadic: #808000, #008080 · Analogous: #400080, #800040. Use tints for backgrounds and shades for hover states.

Purple in every colour format

FormatValue
HEX#800080
RGBrgb(128, 0, 128)
HSLhsl(300, 100%, 25%)
HSVhsv(300, 100%, 50%)
CMYKcmyk(0%, 100%, 0%, 50%)
CSS namepurple
Contrast on white9.42:1
Contrast on black2.23:1

Frequently asked questions

What is the hex code for Purple?
#800080 (CSS name: purple).
What is Purple in RGB?
rgb(128, 0, 128)
What colour goes well with Purple?
Its complementary colour #008000, or the analogous #400080 and #800040.
Purple — #800080

Embed this tool on your site

Paste this code into any web page. It stays free, fast and ad-free inside your site.

Print or save as PDF

Prints just this tool and its result. Choose “Save as PDF” as the printer to get a file. Branding is stored only in this browser.