Amla plundered 104 runs off 60 balls with eight boundaries and five sixes before being trapped lbw by an accurate yorker from Gujarat pacer Basil Thampi on the penultimate ball of the innings.
This was his second hundred in the IPL.
Amla was also involved two crucial partnerships with Marsh and Glenn Maxwell.
Marsh made 58 runs with six boundaries studding his 43-ball knock.
Gujarat pacers Thampi, Pradeep Sangwan and Dhawal Kulkarni picked up a wicket each.
Asked to bat first, Punjab were off to a slow start as Gujarat pacers Sangwan and Kulkarni maintained a tight line.
Sangwan struck in the very first over with a chest high-short ball to Gujarat opener Martin Guptill on the off stump line. The Kiwi star tried to hook the ball but only managed to offer a top edge to Thampi at long leg.
However, Amla and Marsh helped the hosts shake off the early jitters and steadied the innings with a 125-run partnership in 89-balls.
Amla batted well, showcasing his impeccable technique to find the gaps at regular intervals.
Kulkarni finally brought the stand to an end, dismissing Marsh with a slower delivery. The Australian was outfoxed by the change of pace and miscued his shot with Aaron Finch doing the honours at long on.
Marsh's departure prompted Amla to go on the offensive and the South African star hit two sixes off consecutive overs.
Known for his classical technical batting, Amla also showcased his ability to improvise.
Thanks to big hitting Amla and excellent support from the other end by Maxwell, the Punjab run rate showed no signs of slowing down.
The duo added 50 runs between them off 25 balls with Amla doing most of the scoring.
The 34-year-old reached his century in style, smashing Thampi for a six over the cover boundary.
However, Thampi made a superb comeback, pitching an accurate yorker right in the block hole to trap Amla leg before.
Maxwell remained unbeaten on 20 runs off 11 deliveries which included two sixes.
Kings XI Punjab: 189/3 in 20 overs (Hashim Amla 104, Shaun Marsh 58) vs Gujarat Lions.
Source - Agency
IPL 2017: Top 5 Batsmen After League Round
IPL 10: Hashim Amla guides Kings XI Punjab to challenging total
IPL: Amla's 65 fires Kings XI Punjab to 188/7 against Gujarat Lions
IPL-10: Amla's maiden T20 ton takes Kings XI to 198/4 vs Mumbai
South Africa reach 123/4 vs New Zealand on rain-marred opening day
South Africa - 123/4 on rain-affected first Day against NZ
Hashim Amla woos investors for #T20 Global Destination League
South Africa crushed Sri Lanka by 88 runs in fifth ODI
South Africa post mammoth 384/6 against SL in fifth ODI
Latest ICC Batsmen Rankings