Plum — 11-step color scale
Plum (#dda0dd) sits at 500, untouched. Every other step is Plum 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.
For text that needs to pass AA on white, 700, 800, 900, 950 clear the 4.5:1 line. On a dark surface, 50, 100, 200, 300, 400, 500, 600 do.
Semantic colors from Plum
Success, warning, error and the rest are derived from Plum 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 | 43.5 | 39.2 | 11.5 |
| warning | 32.8 | 33.5 | 11.8 |
| error | 7.6 | 10.0 | 7.2 |
| discovery | 22.2 | 24.8 | 28.6 |
| info | 14.5 | 5.9 | 57.7 |
| neutral | 11.1 | 10.3 | 13.1 |
The info suggestion starts out colliding with Plum under Deuteranopia — ΔE₀₀ 5.9, below the 11 threshold — so the engine shifts its hue within the info family until the pair pulls apart again.
Export Plum
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: #fcf7fc;
--color-color-100: #f7e8f7;
--color-color-200: #f1d9f1;
--color-color-300: #eccaec;
--color-color-400: #e4b3e4;
--color-color-500: #dda0dd;
--color-color-600: #b180b1;
--color-color-700: #7c5a7c;
--color-color-800: #584058;
--color-color-900: #352635;
--color-color-950: #120d12;
}$color-color-50: #fcf7fc;
$color-color-100: #f7e8f7;
$color-color-200: #f1d9f1;
$color-color-300: #eccaec;
$color-color-400: #e4b3e4;
$color-color-500: #dda0dd;
$color-color-600: #b180b1;
$color-color-700: #7c5a7c;
$color-color-800: #584058;
$color-color-900: #352635;
$color-color-950: #120d12;export const color = {
50: '#fcf7fc',
100: '#f7e8f7',
200: '#f1d9f1',
300: '#eccaec',
400: '#e4b3e4',
500: '#dda0dd',
600: '#b180b1',
700: '#7c5a7c',
800: '#584058',
900: '#352635',
950: '#120d12',
};{
"color": {
"50": "#fcf7fc",
"100": "#f7e8f7",
"200": "#f1d9f1",
"300": "#eccaec",
"400": "#e4b3e4",
"500": "#dda0dd",
"600": "#b180b1",
"700": "#7c5a7c",
"800": "#584058",
"900": "#352635",
"950": "#120d12"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9882352941176471,
0.9686274509803922,
0.9882352941176471
],
"alpha": 1,
"hex": "#FCF7FC"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9686274509803922,
0.9098039215686274,
0.9686274509803922
],
"alpha": 1,
"hex": "#F7E8F7"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9450980392156862,
0.8509803921568627,
0.9450980392156862
],
"alpha": 1,
"hex": "#F1D9F1"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9254901960784314,
0.792156862745098,
0.9254901960784314
],
"alpha": 1,
"hex": "#ECCAEC"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8941176470588236,
0.7019607843137254,
0.8941176470588236
],
"alpha": 1,
"hex": "#E4B3E4"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8666666666666667,
0.6274509803921569,
0.8666666666666667
],
"alpha": 1,
"hex": "#DDA0DD"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6941176470588235,
0.5019607843137255,
0.6941176470588235
],
"alpha": 1,
"hex": "#B180B1"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.48627450980392156,
0.35294117647058826,
0.48627450980392156
],
"alpha": 1,
"hex": "#7C5A7C"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.34509803921568627,
0.25098039215686274,
0.34509803921568627
],
"alpha": 1,
"hex": "#584058"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.20784313725490197,
0.14901960784313725,
0.20784313725490197
],
"alpha": 1,
"hex": "#352635"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.07058823529411765,
0.050980392156862744,
0.07058823529411765
],
"alpha": 1,
"hex": "#120D12"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}