• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Sweetly Cakes
  • Home
  • Recipe index
  • Cakes
  • Frosting & filling
  • Cupcakes
  • Cake basics
  • Brownies
  • Cookies
  • About
  • Contact
  • Français
menu icon
go to homepage
subscribe
search icon
Homepage link
  • Home
  • Recipe index
  • Cakes
  • Frosting & filling
  • Cupcakes
  • Cake basics
  • Brownies
  • Cookies
  • About
  • Contact
  • Français
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • YouTube
  • ×
    Home / Desserts / Cupcakes

    Rainbow Cupcakes

    Last update: Sep 8, 2025 Published: Sep 7, 2025 by Fadela This post may contain affiliate links

    Jump to Recipe·Print Recipe·Leave a Review

    These rainbow cupcakes are pure fun! With their bright colorful layers, fluffy texture, and a light mascarpone whipped cream topping, they’re the kind of treat that makes everyone smile.

    cupcakes arc en ciel sur une table
    Jump to:
    • Why you'll love this recipe
    • Ingredients you need
    • How To Make Rainbow Cupcakes
    • Tips for this recipe
    • Variations & Substitutions
    • Recipe Questions
    • Rainbow Cupcakes

    These rainbow cupcakes are made with a soft vanilla cupcake batter, divided into six bowls and tinted with gel food coloring before baking in cupcake liners.

    They’re topped with a light whipped mascarpone frosting and decorated with rainbow sprinkles and candy belts for the perfect birthday cupcakes.

    Why you'll love this recipe


    • Colorful cupcakes: bright layers made with gel food coloring.
    • Light frosting: whipped mascarpone instead of heavy buttercream.
    • Perfect for birthdays: fun party cupcakes with rainbow sprinkles.

    Ingredients you need

    • Vanilla cupcakes – a fluffy batter made with butter, sugar, egg whites, flour and buttermilk.
    • Whipped mascarpone frosting – light and creamy, less sweet than buttercream.
    • Rainbow decorations – gel food coloring, sprinkles, and candy belts for a festive finish.
    Ingredients in a bowl to prepare rainbow cupcakes batter

    How To Make Rainbow Cupcakes

    Here are a few quick visual steps. Don’t forget that the full instructions with exact measurements are in the recipe card below!

    Start by beating the butter and sugar in a large mixing bowl until the mixture is light and creamy.

    Add the egg whites gradually along with the vanilla extract, whisking well after each addition to keep the cupcake batter smooth and airy.

    Mixing bowl with butter and sugar for rainbow cupcakes
    Creamed butter, sugar, and egg whites mixture for rainbow cupcakes

    Next, add the sifted dry ingredients (flour, baking powder, and salt) and the buttermilk in alternating additions, mixing until the cupcake batter is smooth and lump-free.

    Divide the batter evenly into six small mixing bowls. Add gel food coloring to each portion, one color per bowl, and stir until you get bright and even shades.

    Cupcake batter for rainbow cupcakes with flour mixture
    Rainbow cupcake batter divided and colored with gel food coloring

    Spoon the colorful batter into the cupcake liners, layering the colors one on top of the other. Bake at 350°F (180°C) for about 15–18 minutes, or until a toothpick inserted in the center comes out clean.

    For easier layering, you can transfer each colored batter into small piping bags and pipe it directly into the cupcake molds.

    Piping bags filled with colorful cupcake batter for rainbow cupcakes
    Muffin tin with rainbow cupcakes batter before baking

    While the cupcakes cool completely, prepare the mascarpone whipped cream by beating cold heavy cream with mascarpone and powdered sugar until the frosting is thick and stable.

    Pipe a generous swirl of mascarpone frosting on top of each cooled cupcake, then finish with a rainbow candy belt and a handful of colorful sprinkles for the perfect festive touch.

    Rainbow cupcakes baked in muffin tin with colorful layers
    Rainbow cupcake on a table with mascarpone frosting and sprinkles

    Tips for this recipe

    • Use gel food coloring – it creates bright, vibrant colors without thinning the cupcake batter.
    • Divide the batter evenly – measure by weight for neat and even layers in each cupcake liner.
    • Don’t overfill the liners – stop at ¾ full to prevent the batter from overflowing while baking.
    • Cool completely – before piping the mascarpone whipped cream, or the frosting will melt.
    • Decorate right before serving – this keeps the rainbow candy belts and sprinkles fresh and colorful.
    Decorated rainbow cupcakes with whipped mascarpone cream and candy belts

    Variations & Substitutions

    • Classic Rainbow Cake – try the full-size layer cake version with six colorful cake layers and mascarpone whipped cream.
    • Rainbow Frosting Cupcakes – swap the mascarpone topping for buttercream and tint it with different gel food coloring for a rainbow swirl effect.
    • Pastel Rainbow Cupcakes – use softer pastel shades instead of bright colors for baby showers or spring celebrations.
    • Chocolate Rainbow Cupcakes – make a chocolate cupcake base and layer it with colorful frosting on top.

    Recipe Questions

    Can I make rainbow cupcakes ahead of time?

    Yes! You can bake the cupcakes 1–2 days in advance and store them in an airtight container. Frost and decorate them right before serving for the freshest look.

    What food coloring works best for rainbow cupcakes?

    Gel food coloring is the best choice. It gives bright, vibrant shades without changing the texture of the cupcake batter.

    Can I freeze rainbow cupcakes?

    You can freeze the unfrosted cupcakes for up to 2 months. Thaw at room temperature, then add the mascarpone whipped cream and decorations before serving.

    Why did my colors blend together while baking?

    If the batter is too runny or the liners are overfilled, the layers can mix. Use a thicker batter, weigh each portion evenly.

    You will also love

    • Halloween Ghost Cupcakes
    • Strawberry Lemonade Cupcakes
    • Chocolate Marble Cupcakes
    • Lemon Poppy Seed Cupcakes
    Rainbow cupcakes cut open on a table showing colorful layers


    I hope you enjoyed these rainbow cupcakes! Don’t forget to rate the recipe and leave a comment to let me know what you think. Happy baking!

    Print
    clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon

    Rainbow Cupcakes


    5 Stars 4 Stars 3 Stars 2 Stars 1 Star

    No reviews

    • Author: Fadela
    • Total Time: 55 minutes
    • Yield: 12 cupcakes
    Print Recipe
    Save Recipe Recipe Saved

    Description

    Fun and colorful rainbow cupcakes with a light vanilla base, topped with whipped mascarpone cream and decorated with rainbow candy belts and sprinkles. Perfect for birthdays and parties! (For 12 cupcakes)

     


    Ingredients

    Vanilla cupcakes

    • 150 g(⅔ cup) unsalted butter, softened
    • 225 g (1 cup + 2 tbsp) granulated sugar
    • 150 g egg whites, about 4–5 whites
    • 2 tsp vanilla extract
    • 200 ml (¾ cup + 1 tbsp) buttermilk
    • 255 g (2 cups) cake flour
    • 9 g (2 tsp) baking powder
    • ½ tsp salt
    • Gel food coloring: red, orange, yellow, green, blue, violet

    Mascarpone whipped cream

    • 250 g (1 cup) mascarpone cheese
    • 250 g (1 cup) heavy cream, cold
    • 40 g (⅓ cup) powdered sugar
    • 1 tsp vanilla extract

    For decoration

    • Rainbow candy belts and colorful sprinkles


    Instructions

    Cupcake Preparation

    1. Preheat the oven to 350°F (180°C) and line a muffin tin with 12 cupcake liners.
    2. In a large mixing bowl, beat the softened butter with the sugar until light and creamy. Add the egg whites one at a time along with the vanilla extract, mixing well after each addition.
    3. In another bowl, whisk together the flour, baking powder, and salt. Add this mixture alternately with the buttermilk: start with a bit of flour, then some buttermilk, and repeat until the cupcake batter is smooth and lump-free.
    4. Divide the batter evenly into 6 bowls and add gel food coloring to each one (red, orange, yellow, green, blue, violet). Mix until the colors are bright and even. For easier layering, you can transfer each colored batter into small piping bags and pipe them neatly into the cupcake liners.
    5. Fill the liners by layering the colors in rainbow order (violet, blue, green, yellow, orange, red).
    6. Bake for 5 minutes at 350°F (180°C), then reduce the temperature to 320°F (160°C) and continue baking for another 15–18 minutes, until a toothpick inserted in the center comes out clean.
    7. Allow the cupcakes to cool completely on a wire rack before frosting and decorating.

    Mascarpone Whipped Cream

    1. Whip together the mascarpone, cold heavy cream, powdered sugar, and vanilla until the frosting is thick and stable.

    Assembly and Decoration

    1. Pipe the mascarpone whipped cream on top of the cooled cupcakes.
    2. Decorate with a rainbow candy belt and a few colorful sprinkles.

    Equipment

    Hand mixer

    Buy Now →

    Muffin pan

    Buy Now →
    Image of Piping bag

    Piping bag

    Buy Now →

    Stand mixer

    Buy Now →

    Notes

    Storage: Rainbow cupcakes will keep for up to 2 days in the refrigerator in an airtight container. Bring them out about 20 minutes before serving so the mascarpone whipped cream softens to the perfect texture.

    Tips:

    • Use gel food coloring to get bright, vibrant shades without thinning the cupcake batter.
    • Weigh the batter in grams whenever possible for evenly sized cupcakes.
    • Let the cupcakes cool completely before piping the mascarpone whipped cream.
    • Decorate just before serving so the rainbow candy belts and sprinkles stay fresh and colorful.
    • Prep Time: 30 minutes
    • Cook Time: 25 minutes
    • Category: cupcakes
    • Cuisine: American

    Did you make this recipe?

    Tag @sweetlycakes on Instagram

    « Rainbow Cake

    Reader Interactions

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

    Primary Sidebar

    Hello and welcome to my blog! Fully addicted to cakes, blogging, and beautiful pictures! I share with you on this blog some tips and my favorite baking recipes which I hope will help you to enjoy your loved ones!

    More about me →

     Popular Posts

    • Rainbow Cupcakes
    • Rainbow Cake
    • Which Cake is Best for Layer Cakes? 5 Foolproof Recipes You’ll Love
    • Biscoff Cinnamon Rolls

    Follow us

    Search on the blog

    Footer

    ↑ back to top

    About

    • Privacy Policy
    • About me
    • Recipes

    Newsletter

    • Sign Up! for emails and updates

    Contact

    • Contact
    • Work with me
    • Français

    As an Amazon Associate, I earn from qualifying purchases.

    Copyright © 2023 SWEETLYCAKES