Shades of Purple
with Hex Codes
Purple has been associated with royalty, luxury, and mystery for centuries. In CSS, the base purple is #800080, but designers use dozens of variations: deep indigo for authority, bright violet for creativity, soft lavender for calm UIs, rich plum for premium brands, and bold magenta for high-energy designs.
Complete List of Purple Color Shades
Shades of Purple — Hex Reference Table
Click any hex code or colour swatch to copy it to your clipboard.
| Preview | Name | Hex Code | RGB | Category |
|---|
How to Use Shades of Purple in CSS
Every shade on this page can be used directly in CSS. Copy the hex code and paste it into any CSS color property: color, background-color, border-color, box-shadow, or outline-color.
For transparency effects, convert the hex to RGB using the table above and use rgba(). For a design system, store your chosen shade as a CSS custom property so you can update it site-wide from one place.
Frequently Asked Questions
What is the hex code for purple?
#800080. Violet is #EE82EE, indigo is #4B0082, lavender is #E6E6FA, and plum is #DDA0DD.What are the different shades of purple called?
What is the difference between purple and violet?
#800080) is a mix of red and blue. Violet (#EE82EE) is a spectral colour, closer to blue. In design they are often used interchangeably.What are the darkest shades of purple?
#32174D), dark purple (#301934), deep purple (#36013F), and byzantium (#702963).How do I use purple shades in CSS?
color: #800080; for purple, or background-color: #E6E6FA; for lavender. CSS named purples include purple, violet, indigo, plum, thistle, lavender, and orchid.