Lavender — 11-step color scale

Lavender (#e6e6fa) sits at 500, untouched. Every other step is Lavender 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 Lavender 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.#e6e6fa

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

Semantic colors from Lavender

Success, warning, error and the rest are derived from Lavender 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 #e6e6fa
SuggestedProtanopiaDeuteranopiaTritanopia
success21.319.420.7
warning24.625.127.9
error16.214.826.2
discovery15.616.415.8
info13.214.523.1
neutral18.618.718.6
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 is the closest call: it clears the threshold under Protanopia, but only reaches ΔE₀₀ 13.2, so it sits just above the 11 line rather than comfortably past it.

Export Lavender

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: #fdfdff;
  --color-color-100: #f9f9fe;
  --color-color-200: #f5f5fd;
  --color-color-300: #f1f1fc;
  --color-color-400: #ebebfb;
  --color-color-500: #e6e6fa;
  --color-color-600: #b8b8c8;
  --color-color-700: #81818c;
  --color-color-800: #5c5c64;
  --color-color-900: #37373c;
  --color-color-950: #121214;
}
SCSS
$color-color-50: #fdfdff;
$color-color-100: #f9f9fe;
$color-color-200: #f5f5fd;
$color-color-300: #f1f1fc;
$color-color-400: #ebebfb;
$color-color-500: #e6e6fa;
$color-color-600: #b8b8c8;
$color-color-700: #81818c;
$color-color-800: #5c5c64;
$color-color-900: #37373c;
$color-color-950: #121214;
JavaScript
export const color = {
  50: '#fdfdff',
  100: '#f9f9fe',
  200: '#f5f5fd',
  300: '#f1f1fc',
  400: '#ebebfb',
  500: '#e6e6fa',
  600: '#b8b8c8',
  700: '#81818c',
  800: '#5c5c64',
  900: '#37373c',
  950: '#121214',
};
JSON
{
  "color": {
    "50": "#fdfdff",
    "100": "#f9f9fe",
    "200": "#f5f5fd",
    "300": "#f1f1fc",
    "400": "#ebebfb",
    "500": "#e6e6fa",
    "600": "#b8b8c8",
    "700": "#81818c",
    "800": "#5c5c64",
    "900": "#37373c",
    "950": "#121214"
  }
}
Figma Variables
{
  "color": {
    "50": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9921568627450981,
          0.9921568627450981,
          1
        ],
        "alpha": 1,
        "hex": "#FDFDFF"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:1",
        "com.figma.isOverride": true
      }
    },
    "100": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9764705882352941,
          0.9764705882352941,
          0.996078431372549
        ],
        "alpha": 1,
        "hex": "#F9F9FE"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:2",
        "com.figma.isOverride": true
      }
    },
    "200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9607843137254902,
          0.9607843137254902,
          0.9921568627450981
        ],
        "alpha": 1,
        "hex": "#F5F5FD"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:3",
        "com.figma.isOverride": true
      }
    },
    "300": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9450980392156862,
          0.9450980392156862,
          0.9882352941176471
        ],
        "alpha": 1,
        "hex": "#F1F1FC"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:4",
        "com.figma.isOverride": true
      }
    },
    "400": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9215686274509803,
          0.9215686274509803,
          0.984313725490196
        ],
        "alpha": 1,
        "hex": "#EBEBFB"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:5",
        "com.figma.isOverride": true
      }
    },
    "500": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9019607843137255,
          0.9019607843137255,
          0.9803921568627451
        ],
        "alpha": 1,
        "hex": "#E6E6FA"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:6",
        "com.figma.isOverride": true
      }
    },
    "600": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.7215686274509804,
          0.7215686274509804,
          0.7843137254901961
        ],
        "alpha": 1,
        "hex": "#B8B8C8"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:7",
        "com.figma.isOverride": true
      }
    },
    "700": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.5058823529411764,
          0.5058823529411764,
          0.5490196078431373
        ],
        "alpha": 1,
        "hex": "#81818C"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:8",
        "com.figma.isOverride": true
      }
    },
    "800": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.3607843137254902,
          0.3607843137254902,
          0.39215686274509803
        ],
        "alpha": 1,
        "hex": "#5C5C64"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:9",
        "com.figma.isOverride": true
      }
    },
    "900": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.21568627450980393,
          0.21568627450980393,
          0.23529411764705882
        ],
        "alpha": 1,
        "hex": "#37373C"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:10",
        "com.figma.isOverride": true
      }
    },
    "950": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.07058823529411765,
          0.07058823529411765,
          0.0784313725490196
        ],
        "alpha": 1,
        "hex": "#121214"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:11",
        "com.figma.isOverride": true
      }
    }
  },
  "$extensions": {
    "com.figma.modeName": "Value"
  }
}

Open Lavender in the generatorHow the scale is built