Medium Purple — 11-step color scale

Medium Purple (#9370db) sits at 500, untouched. Every other step is Medium Purple 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 Purple 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.#9370db

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 Purple

Success, warning, error and the rest are derived from Medium Purple 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 #9370db
SuggestedProtanopiaDeuteranopiaTritanopia
success49.543.628.2
warning45.350.230.9
error10.215.025.8
discovery9.19.09.2
info11.36.127.2
neutral19.719.812.2
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 info suggestion starts out colliding with Medium Purple under Deuteranopia — ΔE₀₀ 6.1, below the 11 threshold — so the engine shifts its hue within the info family until the pair pulls apart again.

Export Medium Purple

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: #f6f4fc;
  --color-color-100: #e5ddf6;
  --color-color-200: #d4c6f1;
  --color-color-300: #c3afeb;
  --color-color-400: #a98de2;
  --color-color-500: #9370db;
  --color-color-600: #765aaf;
  --color-color-700: #523f7b;
  --color-color-800: #3b2d58;
  --color-color-900: #231b35;
  --color-color-950: #0c0912;
}
SCSS
$color-color-50: #f6f4fc;
$color-color-100: #e5ddf6;
$color-color-200: #d4c6f1;
$color-color-300: #c3afeb;
$color-color-400: #a98de2;
$color-color-500: #9370db;
$color-color-600: #765aaf;
$color-color-700: #523f7b;
$color-color-800: #3b2d58;
$color-color-900: #231b35;
$color-color-950: #0c0912;
JavaScript
export const color = {
  50: '#f6f4fc',
  100: '#e5ddf6',
  200: '#d4c6f1',
  300: '#c3afeb',
  400: '#a98de2',
  500: '#9370db',
  600: '#765aaf',
  700: '#523f7b',
  800: '#3b2d58',
  900: '#231b35',
  950: '#0c0912',
};
JSON
{
  "color": {
    "50": "#f6f4fc",
    "100": "#e5ddf6",
    "200": "#d4c6f1",
    "300": "#c3afeb",
    "400": "#a98de2",
    "500": "#9370db",
    "600": "#765aaf",
    "700": "#523f7b",
    "800": "#3b2d58",
    "900": "#231b35",
    "950": "#0c0912"
  }
}
Figma Variables
{
  "color": {
    "50": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9647058823529412,
          0.9568627450980393,
          0.9882352941176471
        ],
        "alpha": 1,
        "hex": "#F6F4FC"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:1",
        "com.figma.isOverride": true
      }
    },
    "100": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.8980392156862745,
          0.8666666666666667,
          0.9647058823529412
        ],
        "alpha": 1,
        "hex": "#E5DDF6"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:2",
        "com.figma.isOverride": true
      }
    },
    "200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.8313725490196079,
          0.7764705882352941,
          0.9450980392156862
        ],
        "alpha": 1,
        "hex": "#D4C6F1"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:3",
        "com.figma.isOverride": true
      }
    },
    "300": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.7647058823529411,
          0.6862745098039216,
          0.9215686274509803
        ],
        "alpha": 1,
        "hex": "#C3AFEB"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:4",
        "com.figma.isOverride": true
      }
    },
    "400": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.6627450980392157,
          0.5529411764705883,
          0.8862745098039215
        ],
        "alpha": 1,
        "hex": "#A98DE2"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:5",
        "com.figma.isOverride": true
      }
    },
    "500": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.5764705882352941,
          0.4392156862745098,
          0.8588235294117647
        ],
        "alpha": 1,
        "hex": "#9370DB"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:6",
        "com.figma.isOverride": true
      }
    },
    "600": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.4627450980392157,
          0.35294117647058826,
          0.6862745098039216
        ],
        "alpha": 1,
        "hex": "#765AAF"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:7",
        "com.figma.isOverride": true
      }
    },
    "700": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.3215686274509804,
          0.24705882352941178,
          0.4823529411764706
        ],
        "alpha": 1,
        "hex": "#523F7B"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:8",
        "com.figma.isOverride": true
      }
    },
    "800": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.23137254901960785,
          0.17647058823529413,
          0.34509803921568627
        ],
        "alpha": 1,
        "hex": "#3B2D58"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:9",
        "com.figma.isOverride": true
      }
    },
    "900": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.13725490196078433,
          0.10588235294117647,
          0.20784313725490197
        ],
        "alpha": 1,
        "hex": "#231B35"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:10",
        "com.figma.isOverride": true
      }
    },
    "950": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.047058823529411764,
          0.03529411764705882,
          0.07058823529411765
        ],
        "alpha": 1,
        "hex": "#0C0912"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:11",
        "com.figma.isOverride": true
      }
    }
  },
  "$extensions": {
    "com.figma.modeName": "Value"
  }
}

Open Medium Purple in the generatorHow the scale is built