Palette maker

Pink to Purple Gradient: Colors, Hex Codes and CSS

The classic pink to purple gradient runs from hot pink through orchid to violet . In CSS that is linear-gradient(135deg, , , ).

Type
135°
 

More pink to purple gradients to try

On this page
  1. Hex codes
  2. Nearby colors
  3. Smooth blends
  4. CSS code
  5. Contrast
  6. Variations
  7. Web and UI
  8. Branding
  9. Printing
  10. Palettes
  11. FAQ

Use the studio above to move the stops, change the angle or switch to a radial or conic type, then copy the CSS once you like it. This page explains what each color is, why the blend stays clean, where text contrast breaks and how the gradient behaves in print. I have spent twelve years building color systems for apps, brands and packaging, and this pairing is a friendly one with a few traps worth knowing.

Pink to Purple Gradient Hex Codes and Color Values

Three stops carry this gradient: a warm hot pink, an orchid midpoint and a saturated violet. The table lists each one with its values converted directly from the hex code.

Color HEX RGB HSL CMYK
Pink 255, 105, 180 330°, 100%, 71% 0, 59, 29, 0
Orchid 193, 80, 200 297°, 52%, 55% 4, 60, 0, 22
Purple 123, 47, 247 263°, 93%, 58% 50, 81, 0, 3

The CMYK figures are plain mathematical conversions, so read them as a starting point and not as a print spec. A straight blend of the two end colors lands at about in the middle. The orchid stop sits right beside that point, slightly redder and less blue, which is why the three-stop version looks like a gentle, warmer copy of the two-stop one.

How Pink, Orchid and Purple Differ From Nearby Colors

is the CSS named color hotpink. It sits at 330° on the hue wheel and is fully saturated, with enough blue in it that it never reads as coral or salmon. Magenta is harsher because its green drops to zero. A popular alternative sets the first stop to and the second to , which gives a deeper, more serious pink to violet.

Our violet sits at 263°, bluer and brighter than the CSS named color blueviolet (271°) and far more electric than rebeccapurple . Push the violet toward red and you slide into the hotter, more dramatic territory of the red to purple gradient.

Orchid is not the CSS orchid

The named color orchid is , lighter and pinker than the used here. Copy the hex code, not the name.

Why the Blend Stays Clean, and How to Keep It Smooth

Pink at 330° and violet at 263° are only about 67° apart, and every hue between them is a magenta or an orchid. Nothing in the middle turns gray, which is the usual trouble with distant pairs. An orange to blue gradient has to cross a dull neutral zone, while this one never does, so you rarely need a corrective middle stop.

The two real risks are banding and a flat-looking center. Banding shows up as faint stripes on large, slow gradients, so add a subtle noise overlay or a third stop. For the center, you can ask the browser to interpolate in Oklab (code in the next section), which keeps lightness changes more even.

Try this: Put your gradient on a full-width section and duplicate it. Leave one copy as it is, set the other to interpolate in Oklab, then compare the middle third at arm’s length and keep whichever has the cleaner orchid.

CSS Code for a Pink to Purple Gradient

Start with the three-stop linear version and a solid fallback color for very old browsers.

.hero {
  background: #C150C8;
  background: linear-gradient(135deg, #FF69B4 0%, #C150C8 50%, #7B2FF7 100%);
}

135deg is the safest default because the color changes along the diagonal and no edge looks cut off. Use 90deg for a left to right header strip, 180deg for a top to bottom fade, and 45deg when you want the pink in the lower left corner.

Radial and Oklab versions use the same three stops. A conic ring needs the pink repeated at the end so the seam disappears.

background: radial-gradient(circle at 30% 20%, #FF69B4, #C150C8 45%, #7B2FF7);
background: linear-gradient(135deg in oklab, #FF69B4, #C150C8, #7B2FF7);
background: conic-gradient(from 200deg, #FF69B4, #C150C8, #7B2FF7, #FF69B4);

For gradient text, clip the background to the letters and make the text itself transparent. Check the contrast section below before you use it on body copy.

.headline {
  background: linear-gradient(90deg, #FF69B4, #7B2FF7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

Text Contrast on a Pink to Purple Gradient

WCAG asks for 4.5:1 for normal text and 3:1 for large text and interface components. These are the ratios I calculated for the three stops, using plain white and plain black text:

  • White on : 2.65:1, which fails
  • White on : 4.0:1, which passes for large text only
  • White on : 5.85:1, which passes
  • Black on : 7.93:1, on : 5.25:1, on : 3.59:1

No single text color passes across the whole span. White works at the violet end, black works at the pink end, and either is borderline around the orchid. On a sign-up screen I once ran white labels across a pink to violet button. The left half looked fine on my calibrated monitor and washed out on phones in daylight, so the fix was to deepen the pink stop until white passed, which kept the look.

Which text color passes WCAG AA (4.5:1) for normal text on the violet end, #7B2FF7?

White on #7B2FF7 measures 5.85:1, while black only reaches 3.59:1.

Your options are to place text on a solid panel, keep it on the violet side, or darken both stops. Gradient text on a white page has a harder problem: the pink end at 2.65:1 falls under even the 3:1 large text threshold, so darken it or save it for decoration.

Seven violet swatches from light tint to dark shade with hex codes, contrast ratios and a text color flip at the base
On the #7B2FF7 violet ladder, text must flip from black to white right at the base color.

Pastel, Neon and Deep Variations to Try

Move the stops and the mood changes completely, while the structure stays the same: light, middle, dark. The gradient presets above all follow this pattern.

  • Pastel: to to . Soft and calm, good for wellness, baby products and stationery.
  • Neon: to . Built for dark backgrounds, events, music and gaming.
  • Dusk: to to . A twilight fade that works top to bottom at 180deg.

For a heavier finish, carry the dark end toward near-black with the black purple gradient. To fade a pastel version into a clean page without a visible edge, the techniques on the white gradient page apply directly.

Using the Gradient in Web and App Design

Gradients work best on large surfaces: hero sections, onboarding screens, cards and progress bars. Keep small elements such as icons and body text solid, and use orchid as the flat accent color because it is the midpoint and always matches. A tinted shadow like box-shadow: 0 10px 30px rgba(123, 47, 247, 0.35) ties a button to its background far better than a gray one.

On dark interfaces the gradient glows, and on white pages it needs restraint, so keep the surrounding neutrals simple: off-white and a very dark plum. The look is common in social, music and creative apps because it feels energetic without the aggression of red. If you want a warmer, sky-like version, add an orange stop and you land in sunset gradient territory.

Pink and Purple in Branding, Fashion, Interiors and Art

In branding, define the gradient as a system, not as a picture: the stops, the angle and a flat fallback color. You need flat versions for embroidery, one-color printing, favicons and stamps, and is a good single-color stand-in for the whole gradient.

Generic jersey in a pink to purple gradient beside a flat orchid jersey showing the one-color stand-in
Keep orchid #C150C8 as the flat stand-in wherever the full gradient cannot be stitched or stamped.

Fashion uses the same blend through ombre dyeing and satin that shifts color under light. Interiors cannot fade paint easily, so the idea travels through a wall ombre, tinted LED lighting or cushions and art in the saturated stops against calm neutrals. In watercolor, a rose and a violet blended wet into wet reproduce this gradient naturally. If your project leans more on the violet side, the purple gradient page has deeper options.

Printing a Pink to Purple Gradient Without Surprises

Screens mix light, while presses mix ink. is a very saturated violet, and CMYK inks cannot reach every color a screen can show, so the purple end converts duller. On one packaging proof I reviewed, the pink end looked almost the same as the mockup, while the violet end came back visibly flatter and quieter.

Why does the violet #7B2FF7 often look duller on a printed proof?

Very saturated screen violets fall outside the CMYK gamut, so they are pulled toward a deeper, quieter shade.

Soft-proof in the printer’s CMYK profile before you approve anything, and ask for a physical proof on the real paper. Uncoated stock mutes the violet further than coated stock. Expect to accept a deeper, calmer purple in print, and add one or two percent of noise to the artwork to avoid banding in long fades.

Palettes That Pair Well With Pink to Purple

The gradient is lively, so surround it with calm colors: cream, near-black plum or a pale lilac. A cyan accent gives a sharp complement on dark backgrounds. For a cooler, airier direction, see the light blue and light purple combination.

Candy Orchid

Hero sections and buttons on light pages with dark plum text.

Lavender Blush

Pastel brands, wedding stationery and calm wellness or beauty packaging.

Neon Club

Dark mode apps, event posters and music visuals with a cyan spark.

Berry Dusk

Fashion lookbooks and interiors where a warm cream softens the saturation.

Here are four ready-made palettes built around the stops on this page.

The colors behind these gradients

Pink to Purple Gradient: questions people ask

What colors make a pink to purple gradient?

The classic version uses hot pink #FF69B4, orchid #C150C8 and violet #7B2FF7. You can also use only the two end colors, since the orchid midpoint is very close to what the browser would blend anyway.

What is the CSS code for a pink to purple gradient?

Use background: linear-gradient(135deg, #FF69B4, #C150C8, #7B2FF7); and add a solid color line before it as a fallback. Change the angle to 90deg for a left to right blend or 180deg for top to bottom.

Which angle looks best for a pink to purple gradient?

135deg is the safest default because the blend runs along the diagonal and feels natural on cards, buttons and hero sections. Use 90deg for narrow header strips and 180deg for full-screen fades.

Why does my pink to purple gradient look banded?

Banding appears when a smooth gradient covers a large area with only small color differences between steps. Add a subtle noise overlay, add a third stop, or shorten the distance the gradient has to cover.

Is white text readable on a pink to purple gradient?

Only on the purple side. White on #7B2FF7 is 5.85:1, but on #FF69B4 it is just 2.65:1. Put text on a solid panel or darken the pink stop if the text crosses the whole gradient.

Keep exploring