bee, law, casting mould
范 centers on a mold or pattern that shapes something: a casting mold for metal, and by extension a law or rule that shapes behavior. The bee meaning is a separate, unrelated sense.
范 is a phono-semantic compound: 艹 (grass) suggests a plant-based mold or pattern, while 氾 provides the sound. The bee meaning may be a separate borrowing or unrelated character fusion.
The grass crown 艹 sits over 氾, like a mold made of woven grass used to shape clay or metal. Think of a law as a mold that shapes society.
For ハン, imagine a hand pressing clay into a mold: hand -> ハン, and the mold shapes the material.