Purple Patch to Purple Sultan Gradient
CSS
background: linear-gradient(90deg, #5c2e88 0%, #853682 100%);
From Purple Patch (#5C2E88) to Purple Sultan (#853682). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Purple Patch | #5C2E88 | 92, 46, 136 | 271°, 49%, 36% | 32, 66, 0, 47 | |
| 25% (near Purple Patch) | #663087 | 102, 48, 135 | 277°, 48%, 36% | 24, 64, 0, 47 | |
| 50% (near Galactic Grapevine) | #713285 | 113, 50, 133 | 286°, 45%, 36% | 15, 62, 0, 48 | |
| 75% (near Purple Sultan) | #7B3484 | 123, 52, 132 | 293°, 43%, 36% | 7, 61, 0, 48 | |
| Purple Sultan | #853682 | 133, 54, 130 | 302°, 42%, 37% | 0, 59, 2, 48 |
Halfway along, the gradient is #713285, closest to the named color Galactic Grapevine. 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.29:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #5c2e88, #853682) - Diagonal:
linear-gradient(135deg, #5c2e88, #853682) - Radial, from the center out:
radial-gradient(circle, #5c2e88, #853682) - Tailwind CSS:
bg-gradient-to-r from-[#5c2e88] to-[#853682]
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 Purple Patch to Purple Sultan gradient?
It starts at #5C2E88 (Purple Patch) and ends at #853682 (Purple Sultan), with #713285 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #5c2e88, #853682) runs from Purple Sultan on the left to Purple Patch on the right.