Yes of course you need Visa to visit Srilanka. A citizen of a foreign country who seeks to enter other country generally must first obtain a visa, which is placed in the traveler's passport, a travel document issued by the traveler's country of citizenship. So it is must to visit foreign countries.