CRAZYSTRINGS commented:
Of course, there are products like this. But this is not exactly what the poster is asking.
He wants a software that will show him if he is playing a wrong chord.
I think I will come across as a hater but here goes, I don't think you understood what the poster was asking, and, what the replies were implied.
1 / You can see the notes on the on screen keyboard.
2 / You can see the chord description by way of (for instance) C#m or by clicking the "flats tab Ddm.
This covers the two questions by my logic i.e. chord notes and chord description, so if the OP intended to play DMajor (D F# A) and got D augmented by accidentally playing D F# A# (or Bb) the notes and description is there from which to make the correction.
I think the question has collected some unmentioned attributes such as "I want a program that will guess what I
intend to play " I don't see that request only the two that I refer to. However, I am an old geezer so anything can happen and I shall stand corrected while making a solute with a funny hat on.