In a mixing bowl, beat the softened butter until creamy. Gradually add the powdered sugar, one cup at a time, mixing well after each addition. Stir in the salt and vanilla extract. Pour in 2 tablespoons of heavy whipping cream and beat the mixture on medium-high speed until smooth. You can add more cream to reach your desired consistency.
Divide the frosting evenly into three separate bowls. Using food coloring, tint one bowl pink, another blue, and the third purple. Mix each bowl until the colors are uniform.
Lay out a piece of plastic wrap and spoon each layer of frosting onto the surface, stacked on top of each other. Roll it up tightly into a log, pushing out any air bubbles, and twist the end to seal. Snip off the end of the frosting log and place it into a large pastry bag fitted with a star tip.
Cut a small hole in the center of each cupcake and scoop out a bit of cake to create a cavity. Fill the hole with sprinkles, then replace the piece of cupcake you removed.
Squeeze the pastry bag to pipe the tri-colored frosting onto each cupcake, creating a swirl pattern. If you like, sprinkle a few more sprinkles on top.