Lilac to Jigglypuff Gradient
CSS
background: linear-gradient(90deg, #cea2fd 0%, #ffaaff 100%);
From Lilac (#CEA2FD) to Jigglypuff (#FFAAFF). The two hues are 31° 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 | |
|---|---|---|---|---|---|
| Lilac | #CEA2FD | 206, 162, 253 | 269°, 96%, 81% | 19, 36, 0, 1 | |
| 25% (near Testosterose) | #DAA4FE | 218, 164, 254 | 276°, 98%, 82% | 14, 35, 0, 0 | |
| 50% (near Testosterose) | #E7A6FE | 231, 166, 254 | 284°, 98%, 82% | 9, 35, 0, 0 | |
| 75% (near Strawberry Buttercream) | #F3A8FF | 243, 168, 255 | 292°, 100%, 83% | 5, 34, 0, 0 | |
| Jigglypuff | #FFAAFF | 255, 170, 255 | 300°, 100%, 83% | 0, 33, 0, 0 |
Halfway along, the gradient is #E7A6FE, closest to the named color Testosterose. 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.22:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #cea2fd, #ffaaff) - Diagonal:
linear-gradient(135deg, #cea2fd, #ffaaff) - Radial, from the center out:
radial-gradient(circle, #cea2fd, #ffaaff) - Tailwind CSS:
bg-gradient-to-r from-[#cea2fd] to-[#ffaaff]
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 Lilac to Jigglypuff gradient?
It starts at #CEA2FD (Lilac) and ends at #FFAAFF (Jigglypuff), with #E7A6FE in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #cea2fd, #ffaaff) runs from Jigglypuff on the left to Lilac on the right.