The chromatic aberration in lenses becomes due to
Chromatic aberration, also known as “color fringing” or “purple fringing”, is a common optical problem that occurs when a lens is either unable to bring all wavelengths of color to the same focal plane, and/or when wavelengths of color are focused at different positions in the focal plane.
Chromatic aberration occurs when the light gets refracted differently while passing through the lens and it does not coincide with the focal length Light is composed of 7 different wavelengths so after refraction through the lens, if they do not meet at a common point, the color aberration is inevitable