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

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.#663399

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.

Derived from #663399
SuggestedProtanopiaDeuteranopiaTritanopia
success52.046.335.0
warning48.750.927.9
error12.723.022.7
discovery12.611.220.1
info10.16.635.0
neutral16.416.912.0
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 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.

CSS
: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;
}
SCSS
$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;
JavaScript
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',
};
JSON
{
  "color": {
    "50": "#f3eff7",
    "100": "#dacee7",
    "200": "#c2add6",
    "300": "#a98dc6",
    "400": "#855cad",
    "500": "#663399",
    "600": "#52297a",
    "700": "#391d56",
    "800": "#29143d",
    "900": "#180c25",
    "950": "#08040c"
  }
}
Figma Variables
{
  "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"
  }
}

Open Rebecca Purple in the generatorHow the scale is built