A resin composition having improved resistance to discoloration by sunlight, comprising (A) a polymer mixture which comprises a polyphenylene ether, a polyamide and optionally a polystyrene and/or an agent to improve impact resistance, and (B) an inorganic powder whose mean particle size is less than or equal to 5 micrometers, in an amount of more than or equal to 15 parts by weight based on 100 parts by weight of the polyphenylene ether in the polymer mixture (A), which is selected from the group consisting of titanium oxide, mica coated with titanium oxide, barium sulphate, zinc oxide and zinc sulfide.