Royal Nightcore to Dark Orchid Gradient
CSS
background: linear-gradient(90deg, #533cc6 0%, #9932cc 100%);
From Royal Nightcore (#533CC6) to Dark Orchid (#9932CC). 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 | OKLCH | |
|---|---|---|---|---|---|---|
| Royal Nightcore | #533CC6 | 83, 60, 198 | 250°, 55%, 51% | 58, 70, 0, 22 | 47.1% 0.203 283 | |
| 25% (near Purple Emperor) | #653AC8 | 101, 58, 200 | 258°, 56%, 51% | 50, 71, 0, 22 | 48.6% 0.206 291 | |
| 50% (near Purple Rain) | #7637C9 | 118, 55, 201 | 266°, 57%, 50% | 41, 73, 0, 21 | 50.1% 0.211 298 | |
| 75% (near Dreamscape Purple) | #8835CB | 136, 53, 203 | 273°, 59%, 50% | 33, 74, 0, 20 | 52.2% 0.219 305 | |
| Dark Orchid | #9932CC | 153, 50, 204 | 280°, 61%, 50% | 25, 75, 0, 20 | 54.1% 0.227 312 |
Halfway along, the gradient is #7637C9, closest to the named color Purple Rain. 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.30:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #533cc6, #9932cc) - Diagonal:
linear-gradient(135deg, #533cc6, #9932cc) - Radial, from the center out:
radial-gradient(circle, #533cc6, #9932cc) - Tailwind CSS:
bg-gradient-to-r from-[#533cc6] to-[#9932cc]
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 Royal Nightcore to Dark Orchid gradient?
It starts at #533CC6 (Royal Nightcore) and ends at #9932CC (Dark Orchid), with #7637C9 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #533cc6, #9932cc) runs from Dark Orchid on the left to Royal Nightcore on the right.