Hi,
Here are some examples you may want to consider:
Can you [differentiate / distinguish] between [different types of accents / the two accents / etc.]?
Can you [differentiate / distinguish] [one accent from all the others / one accent from another / etc.]?
Can you tell the difference between [different types of accents / the two accents / one accent and the other