#7840FA is a mid-toned, cool purple. On the Color Lab it reads clean and engineered, bold and ownable. It sits well as a supporting tone.
Not just a swatch — here's how #7840FA works with other colors. Named schemes with #7840FA in its natural role, and a note on why the supporting colors balance it.
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 Violet.
Violet sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
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 Violet carrying the quiet middle.
Violet opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Violet glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #7840FA 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 #7840FA at work across the surfaces designers actually ship.
:root {
--color-base: #7840FA;
--color-base-rgb: 120 64 250;
--color-base-oklch: oklch(55.5% 0.255 289.0);
--color-50: #F5F0FE;
--color-100: #E3D8FD;
--color-200: #C7B1FC;
--color-300: #9F7AF5;
--color-400: #7A4AE8;
--color-500: #5927CE;
--color-600: #49269C;
--color-700: #38216E;
--color-800: #271A47;
--color-900: #19122B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
violet: {
50: '#F5F0FE',
100: '#E3D8FD',
200: '#C7B1FC',
300: '#9F7AF5',
400: '#7A4AE8',
500: '#5927CE',
600: '#49269C',
700: '#38216E',
800: '#271A47',
900: '#19122B',
},
}
$base: #7840FA; $base-ink: #FFFFFF; $base-50: #F5F0FE; $base-100: #E3D8FD; $base-200: #C7B1FC; $base-300: #9F7AF5; $base-400: #7A4AE8; $base-500: #5927CE; $base-600: #49269C; $base-700: #38216E; $base-800: #271A47; $base-900: #19122B; $base-hover: #4E06F7; $base-subtle: #DACDF7;
{
"color": {
"base": {
"value": "#7840FA",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5F0FE",
"type": "color"
},
"100": {
"value": "#E3D8FD",
"type": "color"
},
"200": {
"value": "#C7B1FC",
"type": "color"
},
"300": {
"value": "#9F7AF5",
"type": "color"
},
"400": {
"value": "#7A4AE8",
"type": "color"
},
"500": {
"value": "#5927CE",
"type": "color"
},
"600": {
"value": "#49269C",
"type": "color"
},
"700": {
"value": "#38216E",
"type": "color"
},
"800": {
"value": "#271A47",
"type": "color"
},
"900": {
"value": "#19122B",
"type": "color"
}
}
}
}