Margaret
wiktionary
From the name of a legendary third century saint, from Middle English Margaret, from Old French Margaret (French Marguerite), from Latin Margarita, from Ancient Greek μαργαρίτης(margarítēs, “pearl”), ultimately from an Indo-Iranian source.
The same source, through folk etymology, has produced Old English meregrot(“pearl”, literally “stone or pebble of the sea”), related to Old Saxon merigrita, merigriota(“pearl”), Old High German merigrioz, equivalent to mer- + groat.
etymonline
Margaret
fem. proper name (c. 1300), from Old French Margaret (French Marguerite), from Late Latin Margarita, female name, literally "pearl," from Greek margaritēs (lithos) "pearl," which is of unknown origin.
OED writes, "probably adopted from some Oriental language" [OED]. Beekes writes, "An oriental loanword, mostly assumed to be from Iranian" and cites Middle Persian marvarit "pearl." He adds, "The older view" derives it from Sanskrit manjari "pearl; flowering bead," "but the late and rare occurrence of both the Skt. and Greek form is no support for a direct identification." He also reports a suggested origin in Iranian *mrga-ahri-ita- "born from the shell of a bird" = "oyster."
Arabic marjan probably is from Greek, via Syraic marganitha. In Germanic languages the word was widely perverted by folk-etymology, for example Old English meregrot, which has been altered as if it meant literally "sea-pebble." The word was used figuratively in Middle English for "that which is precious or excellent, a priceless quality or attribute." Derk margaryte was "a corrupted conscience."