BTW, Coloraide is not for the faint of heart.
I managed to get to this point:
rom coloraide import cat
from coloraide import Color
lab_D65 = Color("lab", [30, 26, -27], illuminant="D65")
xyz_d65 = lab_D65.convert("xyz-d65").coords()
xyz_d50 = Color.chromatic_adaptation(cat.WHITES['2deg']["D50"], cat.WHITES['2deg']["D65"], xyz_d65, method='bradford')
But I can't figure how to convert xyz_d50 to Lab_d50?
Lab_d50 = xyz_d50 ???
BTW, Coloraide is not for the faint of heart.
I managed to get to this point:
rom coloraide import cat
from coloraide import Color
lab_D65 = Color("lab", [30, 26, -27], illuminant="D65")
xyz_d65 = lab_D65.convert("xyz-d65").coords()
xyz_d50 = Color.chromatic_adaptation(cat.WHITES['2deg']["D50"], cat.WHITES['2deg']["D65"], xyz_d65, method='bradford')
But I can't figure how to convert xyz_d50 to Lab_d50?
Lab_d50 = xyz_d50 ???