Lighter and darker purple
Each step mixes in more white or black, in even steps for the eye. Tap a swatch to copy its code.
Lighter
Darker
Colors that go with purple
Complementary
Across the color wheel. Strong contrast, good for one button or one word.
Analogous
Its neighbors on the wheel. Calm, easy to use together.
Triadic
Three colors evenly spread. Lively, best with one in charge.
Pairs well in a brand
Purple and text
White text reads best on purple: 9.41:1. The same numbers hold for purple text on a white or a black page. Body text needs 4.5:1 for AA and 7:1 for AAA; large text needs 3:1.
| Text | Contrast | WCAG |
|---|---|---|
| AaWhite text on purple | 9.41:1 | AAA |
| AaBlack text on purple | 2.22:1 | Fails |
How purple looks with color blindness
Other purple hex codes
Many people expect a brighter purple. Older color lists used #A020F0 for purple, and design apps often show something closer to medium purple #9370DB. CSS also has rebecca purple #663399, named in memory of a web developer's daughter, and indigo #4B0082 for a darker, bluer purple.
- PurpleCSS named color: purple. The code on this page
#800080 - Rebecca purpleCSS named color: rebeccapurple
#663399 - Medium purpleCSS named color: mediumpurple
#9370DB - Dark violetCSS named color: darkviolet
#9400D3 - IndigoCSS named color: indigo
#4B0082 - Bright purple (older lists)Common variant
#A020F0
Purple in a small business brand
Deep purple feels creative and a little luxurious: yoga and wellness studios, spas, coaches and event brands use it. It carries white text well, so it makes a strong post background or button. Light purples like lavender suit grounds with dark text. Gold on purple is a classic pair for something festive.
FAQ
What is the hex code for purple?
Purple is #800080 as the CSS named color purple. In RGB that is rgb(128, 0, 128), and in CMYK cmyk(0%, 100%, 0%, 50%).
What text color goes on purple?
White text, at a contrast of 9.41:1, which passes WCAG AAA. Black text reaches 2.22:1, too low for any text.
What is the hex code for dark purple?
There is no CSS name dark purple. Indigo #4B0082 and the CSS purple #800080 are the usual dark picks.
Can I put white text on purple?
Yes. White on #800080 is 9.41:1, which passes WCAG AAA for any size of text.