Primary color and accent from similar colors

I am new to material design and still learning.

I am wondering is it a good idea to have the primary color and the accent from similar palettes e.g Blue 500 and Light Blue A200? Or the whole idea of the primary/accent is to create enough contrast and you should be using colors that are really different.