Matching colorscale opacity to marker opacity


I currently have marker opacity for a plot set as follows:


However, when the associated colorscale gets displayed in the graph, the colors clearly do not match up well with the opacity of the markers in the plot. Is there a way to set the opacity of the colorscale itself to match that of the markers?