Enantiomers are compounds that are non superimposible mirror images. They are optically active by definition.
Diastereomers are stereo isomers that are not entatiomers i.e, they can be either optically active or optically inactive.
Meso compounds have minimum of 2 chiral centres but they are optically inactive because of internal compensation.