Wilson–Bappu effect

K line spectrum of KW 326, a dwarf star in the Praesepe open cluster. The line is very wide and deep, and it originates in the photosphere, just like any other absorption line. Several other lines are superimposed on it. In the center, the emission due to the K line itself, which takes place in the chromosphere.
Zoom on the emission core. W0 is defined as the difference in wavelength between the points on either side of the emission at an average intensity between the K1 minimum and the K2 maximum

The Ca II K line in cool stars is a strong photospheric absorption line that exhibits an emission line at its core originating in the star's chromosphere. In 1957, Olin C. Wilson and M. K. Vainu Bappu reported on the remarkable correlation between the measured width of this emission core and the absolute magnitude of the star. This relationship is now known as the Wilson–Bappu effect. The correlation is independent of spectral type and is applicable to stellar classification main sequence types G, K, and Red giant type M. The greater the emission band width, the brighter the star, which provides an empirical correlation with distance.