Preheat your oven to 350°F. Generously spray a 9 x 5" loaf pan with non-stick spray and line with parchment paper. Leave an overhang on the sides to make removing the cake easier.
In a medium bowl, mix the cake flour, baking powder, baking soda, and salt.
In a large bowl, use an electric mixer to beat the softened butter until light and creamy. Add the granulated sugar and mix well until combined, light, and fluffy. Add the room temperature eggs, one at a time, and mix until well combined after each. Mix in the vanilla extract and sour cream until combined.
Alternate adding the dry ingredients and buttermilk to the batter, beginning and ending with the dry ingredients.
Make the white chocolate raspberry filling: Add ½ cup chopped white chocolate or white chocolate chips and ½ cup fresh or frozen raspberries to a medium bowl. Microwave in 30-second intervals, stirring between, until the chocolate is melted and the raspberries have released their liquid. Strain the mixture through a sieve to get rid of the raspberry seeds.
Assemble: Add about half of the cake batter to the prepared loaf pan. Pour the white chocolate raspberry filling in the center, then top with the rest of the cake batter.
Bake in the preheated oven for 45-55 minutes. The bake time may vary depending on your oven. The cake is done when the top is light golden brown and a toothpick inserted into the center comes out clean.
Take the cake out of the oven and let cool in the pan before removing.