Explosive Purple to Yearning Desire Gradient
CSS
background: linear-gradient(90deg, #cc11bb 0%, #ca135e 100%);
From Explosive Purple (#CC11BB) to Yearning Desire (#CA135E). 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 | |
|---|---|---|---|---|---|
| Explosive Purple | #CC11BB | 204, 17, 187 | 305°, 85%, 43% | 0, 92, 8, 20 | |
| 25% (near Punk Rock Purple) | #CC12A4 | 204, 18, 164 | 313°, 84%, 44% | 0, 91, 20, 20 | |
| 50% (near Rrosy-Fingered Dawn) | #CB128D | 203, 18, 141 | 320°, 84%, 43% | 0, 91, 31, 20 | |
| 75% (near Prince Charming) | #CB1375 | 203, 19, 117 | 328°, 83%, 44% | 0, 91, 42, 20 | |
| Yearning Desire | #CA135E | 202, 19, 94 | 335°, 83%, 43% | 0, 91, 53, 21 |
Halfway along, the gradient is #CB128D, closest to the named color Rrosy-Fingered Dawn. 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.16:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #cc11bb, #ca135e) - Diagonal:
linear-gradient(135deg, #cc11bb, #ca135e) - Radial, from the center out:
radial-gradient(circle, #cc11bb, #ca135e) - Tailwind CSS:
bg-gradient-to-r from-[#cc11bb] to-[#ca135e]
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 Explosive Purple to Yearning Desire gradient?
It starts at #CC11BB (Explosive Purple) and ends at #CA135E (Yearning Desire), with #CB128D in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #cc11bb, #ca135e) runs from Yearning Desire on the left to Explosive Purple on the right.