Palette maker

Red to Purple Gradient: Colors, Hex Codes and CSS

A red to purple gradient runs from pure red to web purple , written in CSS as linear-gradient(135deg, #FF0000, #800080). For a richer blend, add as a bridge stop in the middle.

Type
135°
 

More red to purple gradients to try

On this page
  1. Color wheel
  2. Color codes
  3. CSS code
  4. The midpoint
  5. Angles
  6. Contrast
  7. UI and branding
  8. Printing
  9. Interiors and art
  10. Palettes
  11. Related gradients
  12. FAQ

The studio above lets you move the stops, set the angle, switch between linear, radial and conic, and copy the CSS. This page covers what the studio can’t show: the exact color values, how the middle band behaves, how to keep text readable, and what happens in print.

What Sits Between Red and Purple on the Color Wheel

Red is hue 0° and purple () is hue 300°. The short way round the wheel is only 60°, and it runs backwards through crimson, raspberry, rose and magenta. It never passes through orange, which is why this gradient feels cooler and more dramatic than red to orange.

The two ends also differ in lightness. Pure red sits at 50% lightness in HSL, while sits at 25%, so the blend reads as a slide from hot to deep as well as a change of hue.

The bridge color on this page, , is a deep raspberry. It is not screen magenta: in CSS, magenta and fuchsia are the same value, . That is a far brighter, bluer pink that overpowers this gradient if you use it as a core stop.

Red to Purple Gradient Color Codes: HEX, RGB, HSL, CMYK

Here are the three core colors, plus the color a plain two-stop blend produces at exactly 50%.

Color HEX RGB HSL CMYK (basic formula)
Red 255, 0, 0 0°, 100%, 50% 0, 100, 100, 0
Magenta Red 194, 24, 91 336°, 78%, 43% 0, 88, 53, 24
Purple 128, 0, 128 300°, 100%, 25% 0, 100, 0, 50
Two-stop midpoint 191, 0, 64 340°, 100%, 37% 0, 100, 66, 25

The CMYK column uses the plain RGB to CMYK formula, which ignores ink profiles. Treat it as a starting point and expect a print shop to adjust it.

The midpoint row is the average of red and purple. Notice that is lighter and softer than that midpoint, which is exactly why it works as a deliberate bridge stop.

Copy-Ready CSS for a Red to Purple Gradient

Start with the plain two-stop version, then add the bridge color when you want a richer middle.

background: linear-gradient(135deg, #FF0000, #800080);
background: linear-gradient(135deg, #FF0000 0%, #C2185B 50%, #800080 100%);

Radial gradients put the red in a glow and let the purple fall away at the edges. A conic version that returns to red at the end loops with no visible seam, which suits loading rings and spinners.

background: radial-gradient(circle at 30% 20%, #FF0000, #800080);
background: conic-gradient(from 90deg, #FF0000, #800080, #FF0000);

For a softer start that keeps text readable, swap pure red for or . For a bluer, more modern purple end, try . CSS also has a named purple, which is , and its cousin rebeccapurple (), a good end stop if you want something cooler.

Why the Middle of Red to Purple Looks the Way It Does

Browsers blend in sRGB by default, which means they average the red, green and blue numbers. Both ends have zero green, so the middle never turns gray or muddy. It lands on a single crimson, , with no pink or magenta in it, and the gradient can feel a little flat there.

Two red to purple gradient bars with hex pins, one with a flat crimson midpoint and one with a raspberry bridge stop
A two-stop blend lands on flat crimson at 50%; a #C2185B bridge stop makes the middle richer.

Adding at 50% fixes that by pushing the middle toward raspberry. The other fix is to change the blending space. Modern CSS can blend in OKLCH, which follows perceived lightness and hue, so the middle comes out brighter and pinker without an extra stop.

background: #C2185B;
background: linear-gradient(in oklch, #FF0000, #800080);
Hue path warning

Adding "longer hue" to an OKLCH gradient sends it the long way round, through orange, green and blue. Leave it out for red to purple.

The first line is a solid fallback. Current versions of Chrome, Safari, Firefox and Edge understand the second line, and any browser that does not will drop it and keep the fallback.

Best Angles and Stops for Red to Purple Backgrounds

Angle decides where the red sits and how the eye travels across the layout. These four cover most jobs:

  • 90deg: red on the left, purple on the right. Suits banners, navigation bars and wide buttons.
  • 135deg: red top left, purple bottom right. The safe default for hero sections and cards.
  • 180deg: red at the top, purple at the bottom. Works for full-height mobile screens and story-style graphics.
  • 45deg: red bottom left, purple top right. Useful when your content sits in the lower left.

Stop positions matter as much as angle. Writing 0%, 40%, 100% keeps the red shorter and reaches raspberry sooner. On large, dark areas, two close tones can show visible banding. A very faint noise texture or one extra mid stop hides it.

Text Contrast on Red to Purple Gradients

I computed these ratios from the hex values with the WCAG formula. White text on scores 4.00:1, just under the 4.5:1 AA level for body text, though fine for large text (3:1). White on scores 5.87:1, and white on scores 9.42:1, which clears even the 7:1 AAA level.

White text sits on a red to purple gradient. Which spot fails WCAG AA for body text first?

White on #FF0000 scores only 4.00:1, while the middle and the purple end both score well above 4.5:1.

The weak spot is the red end. On a fitness app hero I once set white subtitles that looked fine on my monitor, then failed the check at the red corner. Moving the first stop from to lifted the ratio to 5.87:1 and kept the warm feel. Black text behaves the other way round: 5.25:1 on but only 2.23:1 on .

Seven red to purple swatches with hex codes and text contrast ratios, switching from dark to white text
Only pure red needs dark text; from the next blend step on, white text clears 4.5:1.

Also check red against purple directly. They have just 2.36:1 between them, below the 3:1 that WCAG asks for UI component boundaries, so a red button on a purple panel needs an outline, shadow or clear label.

Try this: Find the lightest spot behind your text, copy that exact color into a contrast checker, and test white text against it. If it falls under 4.5:1, move the red stop to and test again.

Using Red to Purple in UI, Branding and Social Graphics

In interfaces, this gradient works best as a surface rather than a backdrop for paragraphs: hero panels, primary buttons, progress bars, onboarding screens and badges. Keep body copy on a plain neutral card and let the gradient frame it. On a light page, a white gradient beside it calms the intensity. In dark mode, a dark blue gradient base lets the purple end melt into the background.

For branding, red tends to read as energy and urgency, and purple as creative or premium, so the blend suits entertainment, beauty, music, nightlife and gaming more than banking or healthcare. Always define a flat fallback for places that cannot carry a gradient, such as favicons, embroidery and single-color print. is a sensible stand-in because it sits in the middle of the range.

Use it sparingly. One gradient surface per screen, with everything else in neutrals, looks deliberate. Three looks noisy.

Printing Red to Purple Without Surprises

Screens mix light and presses mix ink. Pure is brighter than any CMYK red, and a saturated purple can shift in the shadows. I once sent a red to purple poster to proof and the red end came back clearly duller than on my monitor, while the purple fade showed visible steps. The file was still in RGB.

Why does a red to purple gradient often look duller in print than on screen?

Pure screen red is brighter than ink can match, so the conversion shifts it and the printer's profile decides by how much.

Build print gradients in a CMYK document from the start, use the printer’s profile, and soft-proof before export. The table values are only a guide: is roughly 0, 88, 53, 24, and a profile will adjust that.

For brand-critical work, ask the printer to match the two ends to reference swatches and judge the middle by eye. Gradients are where press differences show most, so a physical proof is worth the wait.

Interiors, Fashion and Art: Red to Purple Off Screen

On walls, red to purple works as an ombre feature wall or as light. LED strips and wash lights that cycle between the two turn a room into a lounge. Keep real paint to deep tones such as wine and plum, and leave bright red for cushions, lamps and art.

In fashion, the pairing shows up as dip-dyed silk and chiffon, ombre knitwear and eyeshadow blends from berry to violet. In painting, a quinacridone magenta between a red and a violet does the job of , giving a smooth bridge in a wet-on-wet blend.

Dusk skies make the same slide. See the sunset gradient for a version that adds warm orange and gold stops.

Ready-Made Red to Purple Palettes to Copy

Each palette below is built around the three core colors, with a deep anchor for dark surfaces and a light tint for text or backgrounds. Copy the codes straight from the swatches.

Velvet Theater

Stage-style hero sections, event posters and entertainment landing pages with white text.

Berry Wine

Restaurant menus, wine labels and beauty packaging that need a rich, grown-up feel.

Soft Dusk

Gentle app backgrounds, wellness brands and wedding stationery with light surfaces.

Neon Night

Gaming interfaces, music visuals and nightlife promos on very dark backgrounds.

A good rule is one gradient hero, one flat accent from the palette and two neutrals. Let the anchor color carry navigation and footers so the gradient stays special.

Neighboring Gradients Worth Trying Next

If red to purple is not quite right, one of these may be:

Whichever you choose, test text contrast at the lightest point and keep a flat fallback color ready.

The colors behind these gradients

Red to Purple Gradient: questions people ask

What are the best hex codes for a red to purple gradient?

The classic pair is #FF0000 to #800080. For a richer middle, use #FF0000, #C2185B and #800080 as three stops. If you need white text on top, start from #E53935 or #C2185B instead of pure red.

How do I make a red to purple gradient in CSS?

Use background: linear-gradient(135deg, #FF0000, #800080); and change the angle to move the red and purple ends. Add a solid background-color line before it as a fallback.

What color is halfway between red and purple?

A plain sRGB blend of #FF0000 and #800080 lands on #BF0040, a deep crimson. Blending in OKLCH or adding a stop like #C2185B pushes the middle toward raspberry and magenta.

Is white text readable on a red to purple gradient?

On the purple end yes: white on #800080 is 9.42:1. On pure #FF0000 it is only 4.00:1, which passes for large text but not for small body copy, so darken the red stop if you need small text.

Why does my red to purple gradient look different in print?

Screens emit light and can show reds that CMYK inks cannot match, so the red end usually prints duller. Build the file in CMYK, soft-proof it, and ask the printer for a physical proof.

Keep exploring