I am trying to replace my capactitor in my ceiling fan, because the blades do not spin but I do hear a humming sound. When I opened it up. I have 2 capacitors
The first capacitor is smaller and has 3 wires and is rated 4uf 250V Red White White
The second capacitor has 3 wires and is rated 5uf 470 1/2W and 6uf 470 1/2W Gray Purple Brown
My question is I CANNOT find ANY matching capacitors online! Does anyone know what other kind of capacitor I can use?

EDIT: To clarify lets say I buy these two capacitors, how exactly would I wire this? I couldn’t find matching capacitors online


Yes they are speed control capacitors.
For clarification as another poster pointed out – one is for speed settings (4.5uf with resistors – aka RC network) the other 5uf is a run or start capacitor. The link below is a package with 3 capacitors built in – note it does not have the RC network for the speed control but has your 5uf – 250Volt you can use for the start/run capacitor, it might work to replace both of your units – there are others that have these 3 capacitors with 5 wires as well making it easier to install.
