Punk Rock Purple to Velvet Magic Gradient
CSS
background: linear-gradient(90deg, #bb11aa 0%, #bb1155 100%);
From Punk Rock Purple (#BB11AA) to Velvet Magic (#BB1155). The two hues are 30° 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 | |
|---|---|---|---|---|---|
| Punk Rock Purple | #BB11AA | 187, 17, 170 | 306°, 83%, 40% | 0, 91, 9, 27 | |
| 25% (near Jealous Jellyfish) | #BB1195 | 187, 17, 149 | 313°, 83%, 40% | 0, 91, 20, 27 | |
| 50% (near Infectious Love) | #BB1180 | 187, 17, 128 | 321°, 83%, 40% | 0, 91, 32, 27 | |
| 75% (near Infectious Love) | #BB116A | 187, 17, 106 | 329°, 83%, 40% | 0, 91, 43, 27 | |
| Velvet Magic | #BB1155 | 187, 17, 85 | 336°, 83%, 40% | 0, 91, 55, 27 |
Halfway along, the gradient is #BB1180, closest to the named color Infectious Love. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.14:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #bb11aa, #bb1155) - Diagonal:
linear-gradient(135deg, #bb11aa, #bb1155) - Radial, from the center out:
radial-gradient(circle, #bb11aa, #bb1155) - Tailwind CSS:
bg-gradient-to-r from-[#bb11aa] to-[#bb1155]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Punk Rock Purple to Velvet Magic gradient?
It starts at #BB11AA (Punk Rock Purple) and ends at #BB1155 (Velvet Magic), with #BB1180 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #bb11aa, #bb1155) runs from Velvet Magic on the left to Punk Rock Purple on the right.