How to Make Colorful Rainbow Cupcakes That Wow Guests

Rainbow Cupcakes are a colorful, crowd-pleasing dessert perfect for birthdays and any festive gathering. They’re surprisingly simple to make yet deliver a big visual impact your guests will love.

All you need is a box of white cake mix, food coloring, white frosting, and sprinkles to create these cheerful treats.

Rainbow marble cupcakes on a cakestand.

These cupcakes are easy to customize for any theme. I made them for a rollerskating party, but they’re equally suited to a rainbow, unicorn, or mermaid party—just swap the colors to match your theme.

How to make rainbow cupcakes

Begin by preparing the white cake mix according to the package directions. Divide the batter evenly into as many bowls as the number of colors you want to use.

I used four colors—purple, blue, yellow, and pink. Add food coloring to each bowl and mix until the color is fully incorporated.

Cake batter in a bowl with food coloring.
Colored cake batter in muffin tins and cupcake with frosting.

Line a muffin tin with cupcake liners. Fill each liner by spooning alternating colors into the center, layering until the liner is about two-thirds full. This creates the marbled, rainbow effect inside the cupcake.

Bake according to the time listed on your cake mix box, typically until a toothpick inserted in the center comes out clean. Remove the cupcakes from the oven and allow them to cool completely before frosting.

Frost with white buttercream or store-bought white frosting so the colors remain vibrant. Finish with sprinkles for a festive touch. Slice one in half to reveal the marbled rainbow inside.

A rainbow marble cut in half to see the inside of the cupcake.

Tips for success

Use a white cake mix and white frosting to ensure the colors stay bright and true. For best results, choose gel or concentrated food coloring for vivid hues without thinning the batter.

You can make these cupcakes up to two days ahead of time. Store them in the refrigerator until ready to serve. If you need longer storage, cupcakes can be frozen for up to three months—wrap them well in plastic and place them in a freezer bag.

Other dessert recipes to try:

  • Birds Nest Cookies
  • Easy Sugar Cookies
  • No Churn Homemade Ice Cream in 5 Flavors
  • Cookie Monster Oreo Balls
  • Pumpkin Spice Rice Krispies Treats

Did you make these rainbow cupcakes? RATE this recipe and leave a comment below! I love hearing from you.

rainbow cupcake cut in half

Rainbow Cupcakes

Amy Duska

Easy and beautiful marbled cupcakes to impress guests.
5 from 5 votes
Print Recipe
Pin Recipe
Prep Time 15 mins
Cook Time 20 mins
Total Time 35 mins
Course Dessert
Cuisine American
Servings 24
Calories 222 kcal

Ingredients

  • 1 box white cake mix plus ingredients called for on the box
  • food coloring of choiceI used Wilton Rose, Sky Blue, Violet, and Lemon Yellow
  • sprinkles
  • package of white frosting

Instructions

  • Preheat oven to 350°F (175°C) and line a muffin pan with cupcake liners.
  • Prepare the cake mix following the box directions. Divide the batter evenly into separate bowls and add a different food color to each bowl, stirring until evenly colored.
  • Fill liners by layering spoonfuls of each colored batter until each cup is about two-thirds full to create the marbled rainbow interior.
  • Bake for about 20 minutes, or until a toothpick inserted into the center comes out clean. Let the cupcakes cool completely before frosting.
  • If coloring frosting, tint the white buttercream to the desired shade, transfer to a piping bag, and pipe onto cooled cupcakes. Top with sprinkles and store in the refrigerator until serving.

Video

Notes

Make up to two days in advance and refrigerate until ready to serve.

To freeze, wrap cupcakes tightly in plastic wrap and place in a freezer bag for up to three months.

A white cake mix and white frosting produce the brightest, truest colors.

Keyword birthday party cupcakes, rainbow cake