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
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.
| Suggested | Protanopia | Deuteranopia | Tritanopia |
|---|---|---|---|
| success | 49.5 | 43.6 | 28.2 |
| warning | 45.3 | 50.2 | 30.9 |
| error | 10.2 | 15.0 | 25.8 |
| discovery | 9.1 | 9.0 | 9.2 |
| info | 11.3 | 6.1 | 27.2 |
| neutral | 19.7 | 19.8 | 12.2 |
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.
: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;
}$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;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',
};{
"color": {
"50": "#f6f4fc",
"100": "#e5ddf6",
"200": "#d4c6f1",
"300": "#c3afeb",
"400": "#a98de2",
"500": "#9370db",
"600": "#765aaf",
"700": "#523f7b",
"800": "#3b2d58",
"900": "#231b35",
"950": "#0c0912"
}
}{
"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"
}
}