Thistle — 11-step color scale

Thistle (#d8bfd8) sits at 500, untouched. Every other step is Thistle 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 Thistle 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.#d8bfd8

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 Thistle

Success, warning, error and the rest are derived from Thistle 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 #d8bfd8
SuggestedProtanopiaDeuteranopiaTritanopia
success25.021.723.4
warning16.517.613.3
error8.48.210.8
discovery27.628.628.8
info5.410.141.2
neutral10.010.110.2
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 Thistle under Protanopia — ΔE₀₀ 5.4, below the 11 threshold — so the engine shifts its hue within the info family until the pair pulls apart again.

Export Thistle

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: #fcfafc;
  --color-color-100: #f6f0f6;
  --color-color-200: #efe5ef;
  --color-color-300: #e9dbe9;
  --color-color-400: #e0cce0;
  --color-color-500: #d8bfd8;
  --color-color-600: #ad99ad;
  --color-color-700: #796b79;
  --color-color-800: #564c56;
  --color-color-900: #342e34;
  --color-color-950: #110f11;
}
SCSS
$color-color-50: #fcfafc;
$color-color-100: #f6f0f6;
$color-color-200: #efe5ef;
$color-color-300: #e9dbe9;
$color-color-400: #e0cce0;
$color-color-500: #d8bfd8;
$color-color-600: #ad99ad;
$color-color-700: #796b79;
$color-color-800: #564c56;
$color-color-900: #342e34;
$color-color-950: #110f11;
JavaScript
export const color = {
  50: '#fcfafc',
  100: '#f6f0f6',
  200: '#efe5ef',
  300: '#e9dbe9',
  400: '#e0cce0',
  500: '#d8bfd8',
  600: '#ad99ad',
  700: '#796b79',
  800: '#564c56',
  900: '#342e34',
  950: '#110f11',
};
JSON
{
  "color": {
    "50": "#fcfafc",
    "100": "#f6f0f6",
    "200": "#efe5ef",
    "300": "#e9dbe9",
    "400": "#e0cce0",
    "500": "#d8bfd8",
    "600": "#ad99ad",
    "700": "#796b79",
    "800": "#564c56",
    "900": "#342e34",
    "950": "#110f11"
  }
}
Figma Variables
{
  "color": {
    "50": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9882352941176471,
          0.9803921568627451,
          0.9882352941176471
        ],
        "alpha": 1,
        "hex": "#FCFAFC"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:1",
        "com.figma.isOverride": true
      }
    },
    "100": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9647058823529412,
          0.9411764705882353,
          0.9647058823529412
        ],
        "alpha": 1,
        "hex": "#F6F0F6"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:2",
        "com.figma.isOverride": true
      }
    },
    "200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9372549019607843,
          0.8980392156862745,
          0.9372549019607843
        ],
        "alpha": 1,
        "hex": "#EFE5EF"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:3",
        "com.figma.isOverride": true
      }
    },
    "300": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9137254901960784,
          0.8588235294117647,
          0.9137254901960784
        ],
        "alpha": 1,
        "hex": "#E9DBE9"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:4",
        "com.figma.isOverride": true
      }
    },
    "400": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.8784313725490196,
          0.8,
          0.8784313725490196
        ],
        "alpha": 1,
        "hex": "#E0CCE0"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:5",
        "com.figma.isOverride": true
      }
    },
    "500": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.8470588235294118,
          0.7490196078431373,
          0.8470588235294118
        ],
        "alpha": 1,
        "hex": "#D8BFD8"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:6",
        "com.figma.isOverride": true
      }
    },
    "600": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.6784313725490196,
          0.6,
          0.6784313725490196
        ],
        "alpha": 1,
        "hex": "#AD99AD"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:7",
        "com.figma.isOverride": true
      }
    },
    "700": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.4745098039215686,
          0.4196078431372549,
          0.4745098039215686
        ],
        "alpha": 1,
        "hex": "#796B79"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:8",
        "com.figma.isOverride": true
      }
    },
    "800": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.33725490196078434,
          0.2980392156862745,
          0.33725490196078434
        ],
        "alpha": 1,
        "hex": "#564C56"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:9",
        "com.figma.isOverride": true
      }
    },
    "900": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.20392156862745098,
          0.1803921568627451,
          0.20392156862745098
        ],
        "alpha": 1,
        "hex": "#342E34"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:10",
        "com.figma.isOverride": true
      }
    },
    "950": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.06666666666666667,
          0.058823529411764705,
          0.06666666666666667
        ],
        "alpha": 1,
        "hex": "#110F11"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:11",
        "com.figma.isOverride": true
      }
    }
  },
  "$extensions": {
    "com.figma.modeName": "Value"
  }
}

Open Thistle in the generatorHow the scale is built