An ophthalmic endoilluminator has a light source, a collimating lens for collimating the light produced by the light source, a filter for filtering the collimated light, an attenuator for attenuating the filtered light, a hybrid condensing lens for focusing the attenuated light, and an optical fiber for carrying the focused light into an eye. A diffractive surface on the hybrid condensing lens compensates for the other refractive surfaces.