To match your bedding to your bedroom, you should buy your bedding before you paint your walls. This is because you will probably find it easier to match paint to your bedding than the other way around.
Choose bedding that is in the same color scheme but several shades paler than your walls. You could also opt for plain white sheets and use throw pillows to match the bedding with the other colors in the room.