Purple gradients
Purple gradients feel creative, a little luxurious and very modern, which is why they're common in music, gaming, beauty and tech brands. The gradients below run from deep plum and indigo blends that carry white text, through vivid violet and purple-to-pink gradients, to soft lavender fades that need dark text. Purple pairs especially well with pink and blue, its neighbors on the color wheel, so purple-to-pink and purple-to-blue gradients look smooth and natural. Each gradient shows its CSS, ready to paste, the text color that reads best across it and its worst-case contrast. Open any of them in the gradient generator to adjust the colors or angle and watch the readability check update.
6 purple gradients with CSS code
- Royal Violet
Royal Violet
background: linear-gradient(135deg, #4B0082 0%, #8000FF 100%);White text passes AA, at worst 6.24:1.
- Plum Night
Plum Night
background: linear-gradient(160deg, #301934 0%, #614051 50%, #8E4585 100%);White text passes AA, at worst 6.28:1.
- Purple Pink
Purple Pink
background: linear-gradient(120deg, #6B3FA0 0%, #DA70D6 100%);White text fails AA somewhere, at worst 2.88:1.
- Lavender Mist
Lavender Mist
background: linear-gradient(180deg, #E6E6FA 0%, #C9A0DC 100%);Black text passes AA, at worst 9.54:1.
- Ultraviolet
Ultraviolet
background: linear-gradient(90deg, #3F00FF 0%, #BC13FE 100%);White text passes AA, at worst 4.5:1.
- Amethyst Glow
Amethyst Glow
background: linear-gradient(135deg, #9966CC 0%, #E0B0FF 100%);Black text passes AA, at worst 5.12:1.