BEVERLY Hills, Calif. (AP) _ ''Platoon,'' a searing Vietnam drama that no studio would touch, and ''A Room with a View,'' a period romance regarded as a longshot, scored eight nominations apiece Wednesday to lead the 59th annual Oscar race.

Woody Allen's ''Hannah and Her Sisters'' and two surprises, the outer-space sequel ''Aliens'' and ''The Mission,'' a church-vs.-state story of colonial Brazil, were runners-up with seven apiece.

The Academy of Motion Picture Arts and Sciences' 4,000-plus voters made these nominations for best picture of 1986: ''Children of a Lesser God,'' ''Hannah and Her Sisters,'' ''The Mission,'' ''Platoon'' and ''A Room with a View,'' a gentle story of Britons at leisure in Florence, Italy, and the English countryside. Besides best picture, ''Platoon'' garnered nominations for director, editing, sound, cinematography and screenplay, and two nominations for best supporting actor.

It represented sweet vindication for writer-director Oliver Stone, who spent 10 frustrating years trying to find backing for the film of his memories as an infantryman in Vietnam. The independly made film, distributed by Orion Pictures, is No. 1 at the box office this week.

Stone also was nominated for the screenplay for ''Salvador,'' a film about a journalist in war-torn El Salvador, co-written with Richard Boyle, which hasn't seen wide distribution yet.

''It would be very hard to have another year as good as this one has been,'' Stone said Wednesday in New York. ''I am thrilled by both honors, especially that 'Salvador' has been retreived from obscurity.''

The nominations also featured Paul Newman, who has qualified six times before with nary a win; longtime jazz great Dexter Gordon in his acting debut; and hearing-impaired Marlee Matlin in a nearly mute performance.

Newman was nominated for best actor for his repeat as Fast Eddie Felson in ''The Color of Money,'' a sequel to ''The Hustler'' of 25 years ago. Also named were last year's winner, William Hurt, as Miss Matlin's teacher in ''Children of a Lesser God,'' Gordon for ''Round Midnight,'' James Woods for ''Salvador'' and Bob Hoskins for ''Mona Lisa.''

Hoskins said by telephone from London, where he is making a film: ''I didn't really expect anything like that, but I was very, very hopeful.'' Nominated for playing a role he described as ''a petty crook, a very ordinary man,'' the actor added, 'I am deeply honored.''

Previous Oscar winners Jane Fonda in ''The Morning After'' and Sissy Spacek in ''Crimes of the Heart'' were nominees for best actress, along with Miss Matlin for ''Children of a Lesser God,'' Kathleen Turner for ''Peggy Sue Got Married'' and Sigourney Weaver for ''Aliens.''

Miss Matlin in her film debut played a deaf woman. Through her publicist in New York, she commented: ''I feel great.... I'm gonna scream later.'' If she wins, it would mark the second Oscar for a virtually speechless role. Jane Wyman was the winner as the deaf rape victim in ''Johnny Belinda'' in 1948.

For best supporting actor, the nominees were Tom Berenger and Willem Dafoe for ''Platoon,'' Michael Caine for ''Hannah and Her Sisters,'' Denholm Elliott for ''A Room with a View,'' and Dennis Hopper for ''Hoosiers.'' All are first- time actor nominees except Caine, who has been named three times in the best actor category.

For best supporting actress, the nominees were Tess Harper for ''Crimes of the Heart,'' Piper Laurie for ''Children of a Lesser God,'' Mary Elizabeth Mastrantonio for ''The Color of Money,'' Maggie Smith for ''A Room with a View,'' and Dianne Wiest for ''Hannah and Her Sisters.''

In London, Ms. Smith said she was ''delighted and very surprised'' to be nominated for her role as the chaperone Charlotte Bartlett. She added her surprise that ''A Room with a View'' earned eight nominations - ''Everybody works so hard all the time, you don't have time to reflect and think about it.''

Nominees for director corresponded to best picture, with one exception: David Lynch for ''Blue Velvet,'' who was chosen instead of Randa Haines of ''Children of a Lesser God.'' The other nominees were Woody Allen for ''Hannah and Her Sisters,'' Roland Joffe for ''The Mission,'' Oliver Stone for ''Platoon,'' and James Ivory for ''A Room with a View.''

Besides Stone and Boyle, nominees in the original screenplay category were Paul Hogan, Ken Shadie and John Cornell for '''Crocodile' Dundee,'' Allen for ''Hannah and Her Sisters,'' and Hanif Kureishi for ''My Beautiful Laundrette.''

For adapted screenplay, the nominees were: Hesper Anderson and Mark Medoff for ''Children of a Lesser God,'' Richard Price for ''The Color of Money,'' Beth Henley for ''Crimes of the Heart,'' Ruth Prawer Jhabvala, ''A Room with a View,'' and Raynold Gideon and Bruce A. Evans for ''Stand by Me.''

Austria and Canada made their debuts in the best foreign-language film category. The nominees: ''The Assault'' (The Netherlands), ''Betty Blue'' (France), ''The Decline of the American Empire'' (French-speaking Canada), ''My Sweet Little Village'' (Czechoslovakia), and ''38'' (Austria).

For original song the nominees were ''The Glory of Love'' from ''The Karate Kid Part II,'' ''Life in a Looking Glass'' from ''That's Life,'' ''Mean Green Mother from Outer Space'' from ''Little Shop of Horrors,'' ''Somewhere Out There'' from ''An American Tail,'' and ''Take My Breath Away'' from ''Top Gun.''

If the 1986 nominations carry any message, it may be that money doesn't matter. Except for ''Platoon,'' none of the nominees for best picture was a box-office smash. Of the year's blockbusters, ''Top Gun'' managed four lesser nominations, the same for ''Star Trek IV: The Voyage Home.'' '''Crocodile' Dundee'' and ''The Karate Kid Part II'' had one apiece.

The 59th awards will be presented at the Los Angeles Music Center on an ABC telecast March 30.