Choose a few colors before beginning a small illustration or layout. Try different proportions and combinations while keeping the selection fixed. A restrained palette makes differences in contrast and balance easier to see.
If the piece needs another color, add it for a specific purpose. Consider how the palette appears on the intended background and whether important text remains legible.