#8D40DA is a mid-toned, cool 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 #8D40DA works with other colors. Named schemes with #8D40DA in its natural role, and a note on why the supporting colors balance it.
Blue Violet sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Blue Violet is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Blue Violet.
Blue Violet 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 Blue Violet carrying the quiet middle.
Blue Violet opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Blue Violet glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #8D40DA 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 #8D40DA at work across the surfaces designers actually ship.
:root {
--color-base: #8D40DA;
--color-base-rgb: 141 64 218;
--color-base-oklch: oklch(55.1% 0.222 302.4);
--color-50: #F7F2FD;
--color-100: #EBDCF9;
--color-200: #D6BBF2;
--color-300: #B88CE3;
--color-400: #9961D1;
--color-500: #7A3FB6;
--color-600: #61378B;
--color-700: #472C63;
--color-800: #302041;
--color-900: #1F1528;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
blue-violet: {
50: '#F7F2FD',
100: '#EBDCF9',
200: '#D6BBF2',
300: '#B88CE3',
400: '#9961D1',
500: '#7A3FB6',
600: '#61378B',
700: '#472C63',
800: '#302041',
900: '#1F1528',
},
}
$base: #8D40DA; $base-ink: #FFFFFF; $base-50: #F7F2FD; $base-100: #EBDCF9; $base-200: #D6BBF2; $base-300: #B88CE3; $base-400: #9961D1; $base-500: #7A3FB6; $base-600: #61378B; $base-700: #472C63; $base-800: #302041; $base-900: #1F1528; $base-hover: #7024BC; $base-subtle: #DDCBEE;
{
"color": {
"base": {
"value": "#8D40DA",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F7F2FD",
"type": "color"
},
"100": {
"value": "#EBDCF9",
"type": "color"
},
"200": {
"value": "#D6BBF2",
"type": "color"
},
"300": {
"value": "#B88CE3",
"type": "color"
},
"400": {
"value": "#9961D1",
"type": "color"
},
"500": {
"value": "#7A3FB6",
"type": "color"
},
"600": {
"value": "#61378B",
"type": "color"
},
"700": {
"value": "#472C63",
"type": "color"
},
"800": {
"value": "#302041",
"type": "color"
},
"900": {
"value": "#1F1528",
"type": "color"
}
}
}
}