Spectacular Purple to Hot Magenta Gradient
CSS
background: linear-gradient(90deg, #bb02fe 0%, #ff00cc 100%);
From Spectacular Purple (#BB02FE) to Hot Magenta (#FF00CC). The two hues are 28° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Spectacular Purple | #BB02FE | 187, 2, 254 | 284°, 99%, 50% | 26, 99, 0, 0 | |
| 25% (near Trippy Velvet) | #CC02F2 | 204, 2, 242 | 291°, 98%, 48% | 16, 99, 0, 5 | |
| 50% (near Piercing Pink) | #DD01E5 | 221, 1, 229 | 298°, 99%, 45% | 3, 100, 0, 10 | |
| 75% (near Vice City) | #EE01D9 | 238, 1, 217 | 305°, 99%, 47% | 0, 100, 9, 7 | |
| Hot Magenta | #FF00CC | 255, 0, 204 | 312°, 100%, 50% | 0, 100, 20, 0 |
Halfway along, the gradient is #DD01E5, closest to the named color Piercing Pink. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on the Spectacular Purple end and black text on the Hot Magenta end. For a single line of text across the whole width, put it on a solid panel or pick the side it sits on. The two end colors have a contrast ratio of 1.35:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #bb02fe, #ff00cc) - Diagonal:
linear-gradient(135deg, #bb02fe, #ff00cc) - Radial, from the center out:
radial-gradient(circle, #bb02fe, #ff00cc) - Tailwind CSS:
bg-gradient-to-r from-[#bb02fe] to-[#ff00cc]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Spectacular Purple to Hot Magenta gradient?
It starts at #BB02FE (Spectacular Purple) and ends at #FF00CC (Hot Magenta), with #DD01E5 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #bb02fe, #ff00cc) runs from Hot Magenta on the left to Spectacular Purple on the right.