Dream Vapour to Diva Mecha Gradient
CSS
background: linear-gradient(90deg, #cc99ee 0%, #ee99ee 100%);
From Dream Vapour (#CC99EE) to Diva Mecha (#EE99EE). The two hues are 24° 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 | |
|---|---|---|---|---|---|
| Dream Vapour | #CC99EE | 204, 153, 238 | 276°, 71%, 77% | 14, 36, 0, 7 | |
| 25% (near Dream Vapour) | #D599EE | 213, 153, 238 | 282°, 71%, 77% | 11, 36, 0, 7 | |
| 50% (near Diva Mecha) | #DD99EE | 221, 153, 238 | 288°, 71%, 77% | 7, 36, 0, 7 | |
| 75% (near Diva Mecha) | #E699EE | 230, 153, 238 | 294°, 71%, 77% | 3, 36, 0, 7 | |
| Diva Mecha | #EE99EE | 238, 153, 238 | 300°, 71%, 77% | 0, 36, 0, 7 |
Halfway along, the gradient is #DD99EE, closest to the named color Diva Mecha. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black 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.11:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #cc99ee, #ee99ee) - Diagonal:
linear-gradient(135deg, #cc99ee, #ee99ee) - Radial, from the center out:
radial-gradient(circle, #cc99ee, #ee99ee) - Tailwind CSS:
bg-gradient-to-r from-[#cc99ee] to-[#ee99ee]
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 Dream Vapour to Diva Mecha gradient?
It starts at #CC99EE (Dream Vapour) and ends at #EE99EE (Diva Mecha), with #DD99EE in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #cc99ee, #ee99ee) runs from Diva Mecha on the left to Dream Vapour on the right.