Red to Purple Gradient
CSS GradientThe red to purple gradient is crafted with 5 colors (#FF0000, #DF0020, #BF0040, #9F0060, #800080). Ready-to-use linear, radial, and conic CSS rules for modern web and mobile apps.

|
#FF0000
#DF0020
#BF0040
#9F0060
#800080
1. Gradient Color Stops
| Swatch | HEX | RGB | HSL | CMYK | OKLCH |
|---|---|---|---|---|---|
#FF0000 | 255, 0, 0 | 0°, 100%, 50% | 0%, 100%, 100%, 0% | oklch(0.628 0.258 29) | |
#DF0020 | 223, 0, 32 | 351°, 100%, 44% | 0%, 100%, 86%, 13% | oklch(0.569 0.231 26) | |
#BF0040 | 191, 0, 64 | 340°, 100%, 37% | 0%, 100%, 66%, 25% | oklch(0.512 0.205 15) | |
#9F0060 | 159, 0, 96 | 324°, 100%, 31% | 0%, 100%, 40%, 38% | oklch(0.460 0.190 354) | |
#800080 | 128, 0, 128 | 300°, 100%, 25% | 0%, 100%, 0%, 50% | oklch(0.421 0.193 328) |
2. Gradient Variations & Styles
Linear Gradient
Radial Gradient
Conic Gradient
3. CSS Code & Declarations
Linear Gradient
background: linear-gradient(to right, #FF0000, #DF0020, #BF0040, #9F0060, #800080);
Radial Gradient
background: radial-gradient(circle, #FF0000, #DF0020, #BF0040, #9F0060, #800080);
Conic Gradient
background: conic-gradient(from 180deg at 50% 50%, #FF0000, #DF0020, #BF0040, #9F0060, #800080);
Tailwind CSS
bg-gradient-to-r from-[#FF0000] to-[#800080]
SCSS Variable
$gradient-red-to-purple-gradient: linear-gradient(to right, #FF0000, #DF0020, #BF0040, #9F0060, #800080);
4. Stop Accessibility & Contrast
#FF0000Stop 1
On White:4.00:1
On Black:5.25:1
WCAG Pass
#DF0020Stop 2
On White:5.05:1
On Black:4.16:1
WCAG Pass
#BF0040Stop 3
On White:6.38:1
On Black:3.29:1
WCAG Pass
#9F0060Stop 4
On White:7.95:1
On Black:2.64:1
WCAG Pass
#800080Stop 5
On White:9.42:1
On Black:2.23:1
WCAG Pass
5. UI Preview with Gradient
Card Header
Red to Purple Gradient Banner
Stunning backgrounds for hero sections, marketing callouts, and modern card containers.
Modern Dark Mode
Gradient Glow
Use vibrant gradients as high-conversion button fills, text-gradients, or active focus rings.
Text Gradient
Similar Gradients
Gradient Ideas
About Red to Purple Gradient
Gradient Name
Red to Purple Gradient
Color Stops
5 Colors
First Color
#FF0000
End Color
#800080
Color Swatches