#7940BF 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 #7940BF works with other colors. Named schemes with #7940BF in its natural role, and a note on why the supporting colors balance it.
Royal Purple sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Royal Purple is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Royal Purple.
Royal Purple 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 Royal Purple carrying the quiet middle.
Royal Purple opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Royal Purple glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #7940BF 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 #7940BF at work across the surfaces designers actually ship.
:root {
--color-base: #7940BF;
--color-base-rgb: 121 64 191;
--color-base-oklch: oklch(50.8% 0.190 300.3);
--color-50: #F7F3FC;
--color-100: #EAE0F5;
--color-200: #D4C2EB;
--color-300: #B497D8;
--color-400: #9570C2;
--color-500: #764EA6;
--color-600: #5E4280;
--color-700: #45335C;
--color-800: #2F243C;
--color-900: #1E1825;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
royal-purple: {
50: '#F7F3FC',
100: '#EAE0F5',
200: '#D4C2EB',
300: '#B497D8',
400: '#9570C2',
500: '#764EA6',
600: '#5E4280',
700: '#45335C',
800: '#2F243C',
900: '#1E1825',
},
}
$base: #7940BF; $base-ink: #FFFFFF; $base-50: #F7F3FC; $base-100: #EAE0F5; $base-200: #D4C2EB; $base-300: #B497D8; $base-400: #9570C2; $base-500: #764EA6; $base-600: #5E4280; $base-700: #45335C; $base-800: #2F243C; $base-900: #1E1825; $base-hover: #613399; $base-subtle: #D7CAE7;
{
"color": {
"base": {
"value": "#7940BF",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F7F3FC",
"type": "color"
},
"100": {
"value": "#EAE0F5",
"type": "color"
},
"200": {
"value": "#D4C2EB",
"type": "color"
},
"300": {
"value": "#B497D8",
"type": "color"
},
"400": {
"value": "#9570C2",
"type": "color"
},
"500": {
"value": "#764EA6",
"type": "color"
},
"600": {
"value": "#5E4280",
"type": "color"
},
"700": {
"value": "#45335C",
"type": "color"
},
"800": {
"value": "#2F243C",
"type": "color"
},
"900": {
"value": "#1E1825",
"type": "color"
}
}
}
}