Finding a good palette is always the hardest work, even if you have a good sketch and a color reference image. Personally I first think about how many hues of colours I wish to involve in the illustration (most of the time 2 o 3 tones), then I create lightness variation on that hue so that I have colours for shading the shapes of the illustration. I know, that this is not making things easier but this works for me...