Medium Orchid — 11-step color scale

Medium Orchid (#ba55d3) sits at 500, untouched. Every other step is Medium Orchid composited over white or black at a decreasing opacity, so the whole ramp stays in one hue family instead of drifting toward another color at the ends.

Open Medium Orchid in the generator

8%50
24%100
40%200
56%300
80%400
100%500your color
80%600
56%700
40%800
24%900
8%950
Each step is the base composited over white or black at the opacity shown.#ba55d3

For text that needs to pass AA on white, 600, 700, 800, 900, 950 clear the 4.5:1 line. On a dark surface, 50, 100, 200, 300, 400, 500 do.

Semantic colors from Medium Orchid

Success, warning, error and the rest are derived from Medium Orchid itself, then checked so they stay distinguishable from the base — and from each other — under the three types of color blindness. The distance below is CIEDE2000 after each simulation.

Derived from #ba55d3
SuggestedProtanopiaDeuteranopiaTritanopia
success58.851.952.6
warning41.548.220.2
error12.822.314.7
discovery5.010.620.3
info16.27.054.0
neutral18.516.217.5
CIEDE2000 distance from the base under each simulation. The lowest of the three decides, and a dot marks the ones that land under 11.

The discovery suggestion starts out colliding with Medium Orchid under Protanopia — ΔE₀₀ 5.0, below the 11 threshold — so the engine shifts its hue within the discovery family until the pair pulls apart again.

Export Medium Orchid

The same five formats the generator produces, for this scale. Copy any block, or open the tool to tweak the ramp first.

CSS
:root {
  --color-color-50: #f9f1fb;
  --color-color-100: #eed6f4;
  --color-color-200: #e3bbed;
  --color-color-300: #d8a0e6;
  --color-color-400: #c877dc;
  --color-color-500: #ba55d3;
  --color-color-600: #9544a9;
  --color-color-700: #683076;
  --color-color-800: #4a2254;
  --color-color-900: #2d1433;
  --color-color-950: #0f0711;
}
SCSS
$color-color-50: #f9f1fb;
$color-color-100: #eed6f4;
$color-color-200: #e3bbed;
$color-color-300: #d8a0e6;
$color-color-400: #c877dc;
$color-color-500: #ba55d3;
$color-color-600: #9544a9;
$color-color-700: #683076;
$color-color-800: #4a2254;
$color-color-900: #2d1433;
$color-color-950: #0f0711;
JavaScript
export const color = {
  50: '#f9f1fb',
  100: '#eed6f4',
  200: '#e3bbed',
  300: '#d8a0e6',
  400: '#c877dc',
  500: '#ba55d3',
  600: '#9544a9',
  700: '#683076',
  800: '#4a2254',
  900: '#2d1433',
  950: '#0f0711',
};
JSON
{
  "color": {
    "50": "#f9f1fb",
    "100": "#eed6f4",
    "200": "#e3bbed",
    "300": "#d8a0e6",
    "400": "#c877dc",
    "500": "#ba55d3",
    "600": "#9544a9",
    "700": "#683076",
    "800": "#4a2254",
    "900": "#2d1433",
    "950": "#0f0711"
  }
}
Figma Variables
{
  "color": {
    "50": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9764705882352941,
          0.9450980392156862,
          0.984313725490196
        ],
        "alpha": 1,
        "hex": "#F9F1FB"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:1",
        "com.figma.isOverride": true
      }
    },
    "100": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9333333333333333,
          0.8392156862745098,
          0.9568627450980393
        ],
        "alpha": 1,
        "hex": "#EED6F4"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:2",
        "com.figma.isOverride": true
      }
    },
    "200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.8901960784313725,
          0.7333333333333333,
          0.9294117647058824
        ],
        "alpha": 1,
        "hex": "#E3BBED"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:3",
        "com.figma.isOverride": true
      }
    },
    "300": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.8470588235294118,
          0.6274509803921569,
          0.9019607843137255
        ],
        "alpha": 1,
        "hex": "#D8A0E6"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:4",
        "com.figma.isOverride": true
      }
    },
    "400": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.7843137254901961,
          0.4666666666666667,
          0.8627450980392157
        ],
        "alpha": 1,
        "hex": "#C877DC"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:5",
        "com.figma.isOverride": true
      }
    },
    "500": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.7294117647058823,
          0.3333333333333333,
          0.8274509803921568
        ],
        "alpha": 1,
        "hex": "#BA55D3"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:6",
        "com.figma.isOverride": true
      }
    },
    "600": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.5843137254901961,
          0.26666666666666666,
          0.6627450980392157
        ],
        "alpha": 1,
        "hex": "#9544A9"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:7",
        "com.figma.isOverride": true
      }
    },
    "700": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.40784313725490196,
          0.18823529411764706,
          0.4627450980392157
        ],
        "alpha": 1,
        "hex": "#683076"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:8",
        "com.figma.isOverride": true
      }
    },
    "800": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.2901960784313726,
          0.13333333333333333,
          0.32941176470588235
        ],
        "alpha": 1,
        "hex": "#4A2254"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:9",
        "com.figma.isOverride": true
      }
    },
    "900": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.17647058823529413,
          0.0784313725490196,
          0.2
        ],
        "alpha": 1,
        "hex": "#2D1433"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:10",
        "com.figma.isOverride": true
      }
    },
    "950": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.058823529411764705,
          0.027450980392156862,
          0.06666666666666667
        ],
        "alpha": 1,
        "hex": "#0F0711"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:11",
        "com.figma.isOverride": true
      }
    }
  },
  "$extensions": {
    "com.figma.modeName": "Value"
  }
}

Open Medium Orchid in the generatorHow the scale is built