Rebecca Purple — 11-step color scale
Rebecca Purple (#663399) sits at 500, untouched. Every other step is Rebecca 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 Rebecca Purple in the generator
For text that needs to pass AA on white, 400, 500, 600, 700, 800, 900, 950 clear the 4.5:1 line. On a dark surface, 50, 100, 200, 300 do.
Semantic colors from Rebecca Purple
Success, warning, error and the rest are derived from Rebecca 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 | 52.0 | 46.3 | 35.0 |
| warning | 48.7 | 50.9 | 27.9 |
| error | 12.7 | 23.0 | 22.7 |
| discovery | 12.6 | 11.2 | 20.1 |
| info | 10.1 | 6.6 | 35.0 |
| neutral | 16.4 | 16.9 | 12.0 |
The info suggestion starts out colliding with Rebecca Purple under Deuteranopia — ΔE₀₀ 6.6, below the 11 threshold — so the engine shifts its hue within the info family until the pair pulls apart again.
Export Rebecca 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: #f3eff7;
--color-color-100: #dacee7;
--color-color-200: #c2add6;
--color-color-300: #a98dc6;
--color-color-400: #855cad;
--color-color-500: #663399;
--color-color-600: #52297a;
--color-color-700: #391d56;
--color-color-800: #29143d;
--color-color-900: #180c25;
--color-color-950: #08040c;
}$color-color-50: #f3eff7;
$color-color-100: #dacee7;
$color-color-200: #c2add6;
$color-color-300: #a98dc6;
$color-color-400: #855cad;
$color-color-500: #663399;
$color-color-600: #52297a;
$color-color-700: #391d56;
$color-color-800: #29143d;
$color-color-900: #180c25;
$color-color-950: #08040c;export const color = {
50: '#f3eff7',
100: '#dacee7',
200: '#c2add6',
300: '#a98dc6',
400: '#855cad',
500: '#663399',
600: '#52297a',
700: '#391d56',
800: '#29143d',
900: '#180c25',
950: '#08040c',
};{
"color": {
"50": "#f3eff7",
"100": "#dacee7",
"200": "#c2add6",
"300": "#a98dc6",
"400": "#855cad",
"500": "#663399",
"600": "#52297a",
"700": "#391d56",
"800": "#29143d",
"900": "#180c25",
"950": "#08040c"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9529411764705882,
0.9372549019607843,
0.9686274509803922
],
"alpha": 1,
"hex": "#F3EFF7"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8549019607843137,
0.807843137254902,
0.9058823529411765
],
"alpha": 1,
"hex": "#DACEE7"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.7607843137254902,
0.6784313725490196,
0.8392156862745098
],
"alpha": 1,
"hex": "#C2ADD6"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6627450980392157,
0.5529411764705883,
0.7764705882352941
],
"alpha": 1,
"hex": "#A98DC6"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.5215686274509804,
0.3607843137254902,
0.6784313725490196
],
"alpha": 1,
"hex": "#855CAD"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.4,
0.2,
0.6
],
"alpha": 1,
"hex": "#663399"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.3215686274509804,
0.1607843137254902,
0.47843137254901963
],
"alpha": 1,
"hex": "#52297A"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.2235294117647059,
0.11372549019607843,
0.33725490196078434
],
"alpha": 1,
"hex": "#391D56"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.1607843137254902,
0.0784313725490196,
0.23921568627450981
],
"alpha": 1,
"hex": "#29143D"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.09411764705882353,
0.047058823529411764,
0.1450980392156863
],
"alpha": 1,
"hex": "#180C25"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.03137254901960784,
0.01568627450980392,
0.047058823529411764
],
"alpha": 1,
"hex": "#08040C"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}