Carl Johan Petter Hansson (; born 14 December 1976) is a Swedish former professional footballer who played as a defender. He most notably represented Halmstads BK, SC Heerenveen, Rennes, and Monaco during a career that spanned between 1994 and 2012. A full international between 2001 and 2009, he won 43 caps for the Sweden national team and represented his country at the 2004 and 2008 UEFA European Championships as well as the 2006 FIFA World Cup.