#8317B5 is a mid-toned, temperate magenta. On the Color Lab it reads clean and engineered, bold and ownable. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #8317B5 works with other colors. Named schemes with #8317B5 in its natural role, and a note on why the supporting colors balance it.
Grape sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Grape is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Grape.
Grape is the single accent in this high-contrast editorial system — set on near-white paper against near-black ink, with a warm grey and a desaturated tint of Grape carrying the quiet middle.
Grape opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Grape glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #8317B5 actually behaves in design work — read from its OKLCH lightness, chroma and hue, not just its raw numbers. Ten signals to help you decide where this color earns its place.
Not a swatch to memorise — a color to build with. Here is #8317B5 at work across the surfaces designers actually ship.
:root {
--color-base: #8317B5;
--color-base-rgb: 131 23 181;
--color-base-oklch: oklch(47.4% 0.224 310.9);
--color-50: #FAF1FE;
--color-100: #F1DAFB;
--color-200: #E2B7F5;
--color-300: #CA86E9;
--color-400: #B059D9;
--color-500: #9337BE;
--color-600: #723191;
--color-700: #532866;
--color-800: #371E43;
--color-900: #221429;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
grape: {
50: '#FAF1FE',
100: '#F1DAFB',
200: '#E2B7F5',
300: '#CA86E9',
400: '#B059D9',
500: '#9337BE',
600: '#723191',
700: '#532866',
800: '#371E43',
900: '#221429',
},
}
$base: #8317B5; $base-ink: #FFFFFF; $base-50: #FAF1FE; $base-100: #F1DAFB; $base-200: #E2B7F5; $base-300: #CA86E9; $base-400: #B059D9; $base-500: #9337BE; $base-600: #723191; $base-700: #532866; $base-800: #371E43; $base-900: #221429; $base-hover: #691390; $base-subtle: #DBB6EC;
{
"color": {
"base": {
"value": "#8317B5",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#FAF1FE",
"type": "color"
},
"100": {
"value": "#F1DAFB",
"type": "color"
},
"200": {
"value": "#E2B7F5",
"type": "color"
},
"300": {
"value": "#CA86E9",
"type": "color"
},
"400": {
"value": "#B059D9",
"type": "color"
},
"500": {
"value": "#9337BE",
"type": "color"
},
"600": {
"value": "#723191",
"type": "color"
},
"700": {
"value": "#532866",
"type": "color"
},
"800": {
"value": "#371E43",
"type": "color"
},
"900": {
"value": "#221429",
"type": "color"
}
}
}
}