Ninja Princess to Grape Candy Gradient
CSS
background: linear-gradient(90deg, #75528b 0%, #905284 100%);
From Ninja Princess (#75528B) to Grape Candy (#905284). The two hues are 35° 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 | |
|---|---|---|---|---|---|
| Ninja Princess | #75528B | 117, 82, 139 | 277°, 26%, 43% | 16, 41, 0, 45 | |
| 25% (near Ninja Princess) | #7C5289 | 124, 82, 137 | 286°, 25%, 43% | 9, 40, 0, 46 | |
| 50% (near Muted Purple) | #835288 | 131, 82, 136 | 294°, 25%, 43% | 4, 40, 0, 47 | |
| 75% (near Grape Candy) | #895286 | 137, 82, 134 | 303°, 25%, 43% | 0, 40, 2, 46 | |
| Grape Candy | #905284 | 144, 82, 132 | 312°, 27%, 44% | 0, 43, 8, 44 |
Halfway along, the gradient is #835288, closest to the named color Muted Purple. 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.12:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #75528b, #905284) - Diagonal:
linear-gradient(135deg, #75528b, #905284) - Radial, from the center out:
radial-gradient(circle, #75528b, #905284) - Tailwind CSS:
bg-gradient-to-r from-[#75528b] to-[#905284]
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 Ninja Princess to Grape Candy gradient?
It starts at #75528B (Ninja Princess) and ends at #905284 (Grape Candy), with #835288 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #75528b, #905284) runs from Grape Candy on the left to Ninja Princess on the right.