While it looks nice and is very convenient to buy a matched washer/dryer set, it’s not absolutely necessary. Go ahead and mix and match if you like. You might have to if your old washer is still in good condition but you need a new dryer.