King Neptune to Venus Violet Gradient
CSS
background: linear-gradient(90deg, #7794c0 0%, #7a6dc0 100%);
From King Neptune (#7794C0) to Venus Violet (#7A6DC0). The two hues are 33° 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 | |
|---|---|---|---|---|---|
| King Neptune | #7794C0 | 119, 148, 192 | 216°, 37%, 61% | 38, 23, 0, 25 | |
| 25% (near King Neptune) | #788AC0 | 120, 138, 192 | 225°, 36%, 61% | 38, 28, 0, 25 | |
| 50% (near Orbital) | #7981C0 | 121, 129, 192 | 233°, 36%, 61% | 37, 33, 0, 25 | |
| 75% (near Venus Violet) | #7977C0 | 121, 119, 192 | 242°, 37%, 61% | 37, 38, 0, 25 | |
| Venus Violet | #7A6DC0 | 122, 109, 192 | 249°, 40%, 59% | 36, 43, 0, 25 |
Halfway along, the gradient is #7981C0, closest to the named color Orbital. 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.42:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #7794c0, #7a6dc0) - Diagonal:
linear-gradient(135deg, #7794c0, #7a6dc0) - Radial, from the center out:
radial-gradient(circle, #7794c0, #7a6dc0) - Tailwind CSS:
bg-gradient-to-r from-[#7794c0] to-[#7a6dc0]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the King Neptune to Venus Violet gradient?
It starts at #7794C0 (King Neptune) and ends at #7A6DC0 (Venus Violet), with #7981C0 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #7794c0, #7a6dc0) runs from Venus Violet on the left to King Neptune on the right.