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
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.
| Suggested | Protanopia | Deuteranopia | Tritanopia |
|---|---|---|---|
| success | 21.3 | 19.4 | 20.7 |
| warning | 24.6 | 25.1 | 27.9 |
| error | 16.2 | 14.8 | 26.2 |
| discovery | 15.6 | 16.4 | 15.8 |
| info | 13.2 | 14.5 | 23.1 |
| neutral | 18.6 | 18.7 | 18.6 |
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.
: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;
}$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;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',
};{
"color": {
"50": "#fdfdff",
"100": "#f9f9fe",
"200": "#f5f5fd",
"300": "#f1f1fc",
"400": "#ebebfb",
"500": "#e6e6fa",
"600": "#b8b8c8",
"700": "#81818c",
"800": "#5c5c64",
"900": "#37373c",
"950": "#121214"
}
}{
"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"
}
}