Easy rainbow cupcakes recipe

Click to rate
(1085 ratings)
Sending your rating
makes: 10 - 16
Skill: easy
Cost: cheap
Prep: 20 min
Cooking: 25 min

Nutrition per portion

Calories 633 kCal 32%
Fat 32.7g 47%
  -  Saturates 16.4g 82%
Carbohydrates 81.5g 32%
  -  of which Sugars 69.3g 77%
Protein 3.7g 7%
  • We earn a commission for products purchased through some links in this article.
  • These bold and colourful rainbow cupcakes not only look striking, but they also taste delicious too infused with vanilla. Perfect for kids’ parties and bake sales.

    These easy rainbow cupcakes are coloured with six different food colourings including green, yellow, red, and purple. We’ve topped ours with a light vanilla buttercream but you could top with a squirt of whipped cream or serve simply as they are. Just like our rainbow cake, these rainbow cupcakes are vibrant, bright, and sure to impress.


    • 150g caster sugar
    • 150g butter
    • 130g self-raising flour
    • 20g cornflour
    • 3 medium eggs
    • 30ml semi-skimmed milk
    • 1tsp vanilla extract
    • OR 425g box of white cake mix (makes 16 cupcakes)
    • Purple, blue, green, yellow, orange and red food colouring
    • For the icing:
    • 500g icing sugar
    • 250g unsalted butter
    • 1tsp vanilla extract
    • 3tbsp semi-skimmed milk
    • Hundreds and Thousands sprinkles, to decorate
    • You will also need:
    • Deep muffin tray
    • Ice cream scoop
    • 6 small ziplock or sealable sandwich bags
    • Piping bag and Wilton 1M piping tip (optional)


    • For the rainbow cupcakes: Preheat your oven to 160°C/320°F/Gas mark 3. Place 10 cases in your muffin tin (or 16 if you’re using the box of white cake mix)

    • Beat the sugar and butter with the vanilla essence until light and fluffy. Add 1 egg, 1/3 of the flour, and a splash of milk and beat until just combined and repeat until all the ingredients are used up.

      Or follow the box of white cake mix packet instructions.

    • Add two ice cream scoops of the cake batter to each ziplock bag, then add food colour to each one, adding more if required, and massage until you have the desired colour. You could also mix the colours in individual bowls too if you don’t have ziplock bags.

    • Starting with either red or purple, snip the corner of the bag off and squeeze a layer covering the bottom of the 10 cases. Or you’ve opted to mix in bowls, spoon the mixture in using a teaspoon. Then with the other colours, squeeze a layer of batter over the previous colour. Use a toothpick to move the batter around, so as to cover the previous colour.

    • When you have completed all the colours, bake in the oven for 25-30 mins depending on your oven. Remove and cool in the tins for 10 mins before moving to a wire cooling rack.

      Or follow the box of white cake mix cooking instructions.

    • For the buttercream: Put all the ingredients into a large bowl and beat until smooth and shiny.

    • Once the rainbow cakes are cool, spread or pipe (Wilton 1M tip) onto the tops of the cupcakes. To pipe the swirl, start in the centre of the cupcake and work outwards to the paper, using this as a guide follow it round and build up into a swirl. To finish push down slightly and pull up quickly. Decorate with rainbow sprinkles.

    Top tips for making rainbow cupcakes

    For the best, brightest coloured sponge opt for the following amounts of food colouring:

    Food colouring amounts:

    • Purple = 9 red and 6 blue drops
    • Blue = 12 drops blue
    • Green = 12 drops green
    • Yellow = 12 drops yellow
    • Orange = 12 yellow and 4 red drops
    • Red = 18 drops red

    We would also recommend using food gel colouring over liquid as the liquid can sometimes alter the texture of the cakes and you may need more food colouring liquid to get the boldest colour.

    You might also like…
    Easy cupcake recipe
    Chocolate cupcake recipe
    The Hummingbird Bakery’s vanilla cupcakes recipe

    Click to rate
    (1085 ratings)
    Sending your rating

    Related Recipes