BasedPyright, which is the default for the Cursor Python extension provides semantic tokens. There are probably subtle differences in Pylance and BasedPyright implementation which would lead to different colors for some symbols. You might try different options in the “Color Theme” setting to see if one resembles token colors from VSCode/PyCharm.
If you really want to get specific, you could ask your favorite LLM to output a custom workbench.colorCustomizations json blob that you can drop into your settings file, but I personally wouldn’t do that because there are so many different settings to override and you’ll risk conflicting colors.
Pyrefly (disclaimer, the project my team works on) implements semantic tokens and we are tweaking the different color output so you can leave us feedback if there is a specific symbol where you think the color is wrong. Here is an example issue: Semantic highlighting improvements · Issue #873 · facebook/pyrefly · GitHub. Comparison of Pylance/PyCharm vs Pyrefly help us a lot to understand the exact token, along with your Workbench Color Theme selection.