You'll want to ping Ashburn, VA for a relative ping test. You can find this information on the troubleshooting page on the wiki as well, if you want to test your EU connection.
If you're running a windows machine, you can actually view your direct ping to the game via resource monitor. You'll want to open your task manager (control + shift + escape), go to the "performance" tab, and click on "open resource monitor". From there, go to the "network" tab, and make sure your game is open and you have the "java.exe" process checkboxed at the top. From there, scroll down to the TCP connections, and you should be able to view your latency (aka, ping)!
Keep in mind this may be wonky on wireless networks - I've had my laptop claim I had 20 ping before, and I was very confused since I'm nowhere near the server. My desktop computer runs at about 90-120 ping, but that's what I get for living on the wrong side of the US I suppose.