Medium Slate Blue — 11-step color scale

Medium Slate Blue (#7b68ee) sits at 500, untouched. Every other step is Medium Slate Blue 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 Slate Blue 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.#7b68ee

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 Slate Blue

Success, warning, error and the rest are derived from Medium Slate Blue 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 #7b68ee
SuggestedProtanopiaDeuteranopiaTritanopia
success57.052.720.8
warning55.459.551.2
error16.324.048.7
discovery1.91.420.0
info19.715.316.9
neutral22.524.017.9
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 Slate Blue under Deuteranopia — ΔE₀₀ 1.4, below the 11 threshold — so the engine shifts its hue within the discovery family until the pair pulls apart again.

Export Medium Slate Blue

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: #f4f3fe;
  --color-color-100: #dfdbfb;
  --color-color-200: #cac3f8;
  --color-color-300: #b5aaf5;
  --color-color-400: #9586f1;
  --color-color-500: #7b68ee;
  --color-color-600: #6253be;
  --color-color-700: #453a85;
  --color-color-800: #312a5f;
  --color-color-900: #1e1939;
  --color-color-950: #0a0813;
}
SCSS
$color-color-50: #f4f3fe;
$color-color-100: #dfdbfb;
$color-color-200: #cac3f8;
$color-color-300: #b5aaf5;
$color-color-400: #9586f1;
$color-color-500: #7b68ee;
$color-color-600: #6253be;
$color-color-700: #453a85;
$color-color-800: #312a5f;
$color-color-900: #1e1939;
$color-color-950: #0a0813;
JavaScript
export const color = {
  50: '#f4f3fe',
  100: '#dfdbfb',
  200: '#cac3f8',
  300: '#b5aaf5',
  400: '#9586f1',
  500: '#7b68ee',
  600: '#6253be',
  700: '#453a85',
  800: '#312a5f',
  900: '#1e1939',
  950: '#0a0813',
};
JSON
{
  "color": {
    "50": "#f4f3fe",
    "100": "#dfdbfb",
    "200": "#cac3f8",
    "300": "#b5aaf5",
    "400": "#9586f1",
    "500": "#7b68ee",
    "600": "#6253be",
    "700": "#453a85",
    "800": "#312a5f",
    "900": "#1e1939",
    "950": "#0a0813"
  }
}
Figma Variables
{
  "color": {
    "50": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9568627450980393,
          0.9529411764705882,
          0.996078431372549
        ],
        "alpha": 1,
        "hex": "#F4F3FE"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:1",
        "com.figma.isOverride": true
      }
    },
    "100": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.8745098039215686,
          0.8588235294117647,
          0.984313725490196
        ],
        "alpha": 1,
        "hex": "#DFDBFB"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:2",
        "com.figma.isOverride": true
      }
    },
    "200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.792156862745098,
          0.7647058823529411,
          0.9725490196078431
        ],
        "alpha": 1,
        "hex": "#CAC3F8"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:3",
        "com.figma.isOverride": true
      }
    },
    "300": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.7098039215686275,
          0.6666666666666666,
          0.9607843137254902
        ],
        "alpha": 1,
        "hex": "#B5AAF5"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:4",
        "com.figma.isOverride": true
      }
    },
    "400": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.5843137254901961,
          0.5254901960784314,
          0.9450980392156862
        ],
        "alpha": 1,
        "hex": "#9586F1"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:5",
        "com.figma.isOverride": true
      }
    },
    "500": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.4823529411764706,
          0.40784313725490196,
          0.9333333333333333
        ],
        "alpha": 1,
        "hex": "#7B68EE"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:6",
        "com.figma.isOverride": true
      }
    },
    "600": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.3843137254901961,
          0.3254901960784314,
          0.7450980392156863
        ],
        "alpha": 1,
        "hex": "#6253BE"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:7",
        "com.figma.isOverride": true
      }
    },
    "700": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.27058823529411763,
          0.22745098039215686,
          0.5215686274509804
        ],
        "alpha": 1,
        "hex": "#453A85"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:8",
        "com.figma.isOverride": true
      }
    },
    "800": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.19215686274509805,
          0.16470588235294117,
          0.37254901960784315
        ],
        "alpha": 1,
        "hex": "#312A5F"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:9",
        "com.figma.isOverride": true
      }
    },
    "900": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.11764705882352941,
          0.09803921568627451,
          0.2235294117647059
        ],
        "alpha": 1,
        "hex": "#1E1939"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:10",
        "com.figma.isOverride": true
      }
    },
    "950": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.0392156862745098,
          0.03137254901960784,
          0.07450980392156863
        ],
        "alpha": 1,
        "hex": "#0A0813"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:11",
        "com.figma.isOverride": true
      }
    }
  },
  "$extensions": {
    "com.figma.modeName": "Value"
  }
}

Open Medium Slate Blue in the generatorHow the scale is built