Luke Perry, who burst onto the television scene and countless fan-magazine covers in 1990 as one of the core cast members of the Fox drama “Beverly Hills, 90210,” then went on to a busy career in television and film that included, most recently, the CW series “Riverdale,” died on Monday in Los Angeles. He was 52.

His family announced the death. He had been hospitalized after a stroke last Wednesday.

On “Beverly Hills, 90210,” a series about young people in a well-off ZIP code, Mr. Perry played Dylan McKay, a bad-boy teenager who struggled with alcoholism. The show, after a sluggish first season, became a hit and a pop-culture phenomenon, and the good-looking Mr. Perry was a primary reason.

“Young women are obviously lured by the guys-to-drool-over factor,” Caryn James wrote in The New York Times in August 1991. “Luke Perry and Jason Priestley, the actors who play Dylan and Brandon, are today’s favorite TV heartthrobs, their kissable photographs, clean-cut family backgrounds and list of wholesome hobbies flooding magazines for teenagers.”

[From “Beverly Hills, 90210” to “Riverdale,” Perry made fans take notice.]

At a time when much TV fare aimed at younger audiences was fairly tame, “Beverly Hills, 90210” mixed its romantic intrigues with serious themes, like teenage pregnancy and racism. Mr. Perry, who was 24 when the show began (although he played a teenager), stayed for the first six seasons, left for Seasons 7 and 8, then returned for the final two.