Violet to Fuchsia Gradient
CSS
background: linear-gradient(90deg, #9a0eea 0%, #ed0dd9 100%);
From Violet (#9A0EEA) to Fuchsia (#ED0DD9). The two hues are 27° 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 | |
|---|---|---|---|---|---|
| Violet | #9A0EEA | 154, 14, 234 | 278°, 89%, 49% | 34, 94, 0, 8 | |
| 25% (near Vibrant Purple) | #AF0EE6 | 175, 14, 230 | 285°, 89%, 48% | 24, 94, 0, 10 | |
| 50% (near Promiscuous Pink) | #C40EE2 | 196, 14, 226 | 292°, 88%, 47% | 13, 94, 0, 11 | |
| 75% (near Drunk-Tank Pink) | #D80DDD | 216, 13, 221 | 299°, 89%, 46% | 2, 94, 0, 13 | |
| Fuchsia | #ED0DD9 | 237, 13, 217 | 305°, 90%, 49% | 0, 95, 8, 7 |
Halfway along, the gradient is #C40EE2, closest to the named color Promiscuous Pink. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on the Violet end and black text on the Fuchsia end. For a single line of text across the whole width, put it on a solid panel or pick the side it sits on. The two end colors have a contrast ratio of 1.56:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #9a0eea, #ed0dd9) - Diagonal:
linear-gradient(135deg, #9a0eea, #ed0dd9) - Radial, from the center out:
radial-gradient(circle, #9a0eea, #ed0dd9) - Tailwind CSS:
bg-gradient-to-r from-[#9a0eea] to-[#ed0dd9]
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 Violet to Fuchsia gradient?
It starts at #9A0EEA (Violet) and ends at #ED0DD9 (Fuchsia), with #C40EE2 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #9a0eea, #ed0dd9) runs from Fuchsia on the left to Violet on the right.