example:
file.kv
Label:
id: clab
text: "hello there"
background_color: 0,0,0,1
color: 1,1,1,1
in the main.py
...
self.ids.clab.color = [1,0,0,1] #label id referenced
self.ids.clav.background_color = [0,1,1,1]
You can also change de text color like this
self.ids.clab.markup = True #this property must be set to true in order to make possible the text of the label to be procesed
self.ids.clab.text = "[color=ff0000]Hello[/color][color=00ff00]World[/color]"