I own a Walther PPQ, several SIGs, and a few HKs.
IMO the Walther PPQ is a top candidate for best all around pistol. It is a great CCW pistol and can also do very well at the range. I take mine to the range often to shoot and it always brings a smile to my face when shooting it. The Walther PPQ/P99 are extremely accurate especially for their size. My Son's P99 AS came with a factory test target at 25 meters with five shots in a 1 5/8 group. The combination of mechanical accuracy, great trigger, and fantastic grip make it a great range gun for me.
Depending on what you are looking for in a range pistol it may be just right for you. However if you are going to be looking for the smallest groups possible at long distances taking maybe up to several seconds between shots then you may want to look at something bigger/longer, and heavier. Longer sight radius and more weight to steady aim may help.
My personal favorite range guns for me are my Walther PPQ, SIG P226, SIG P220, SIG 1911, HK VP9, HK45, and my HK P30LS.
If I wanted something a bit better for long range best groups for myself I would consider SIG X-FIVE or SIG P210. Both in the $2000 range and both capable of less than 2 inch groups at 50 yards. But I need to get new glasses first.
My PPQ: