I'm aware of Node for setting render colour, regardless of lighting, and tried following it. However, the output color seems quite off from the input color.
For example, load the default scene that opens on blender. I disabled the light. All other settings are the default for cycles in Blender 2.78a in Windows.
Set the shader to output (0.5,0.2,1.0) or (128,51,255).
After rendering, however, the output color is quite off from what I'd expect. Instead of the desired (128,51,255), the output is (188,124,255).
I suppose there's quite a lot going on under the hood in cycles. However, I wanted to use cycles in my own research project, with a custom OSL script defining the final mesh color without any disturbances.
With the prior discussion in mind, is there something I'm missing here? Is there a way to get the exact input-output using cycles?
Thank you for your time and attention.