#8A2BE2Blueviolet is a rich, strongly saturated, mid-toned cool purple (#8A2BE2).
Blueviolet reads as a rich, strongly saturated purple with a cool temperament. Colors in this range are commonly associated with creativity, luxury and imagination, which makes blueviolet a natural fit for premium products, beauty brands and creative tools.
With a 5.96:1 contrast ratio against white, blueviolet is dark enough to carry white text at any size — use it confidently for buttons, headers and filled UI elements. Against black text it manages 3.52:1, so stick with white type on blueviolet surfaces.
For pairings, the complement of blueviolet sits at 91° — #84E22C, close to greenyellow — and delivers the strongest possible hue contrast; use it sparingly, in roughly a 90/10 split, so the two don't fight. For calmer schemes, the analogous colors 30° to either side keep the same cool temperature, while the triadic pair gives you a balanced three-color palette. All of these are computed for blueviolet in the palettes below, with copy-ready codes.
Every palette below is computed from blueviolet's position on the color wheel (hue 271°). Hover any swatch to see its code; click to copy.
Tints mix blueviolet toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.
WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how blueviolet performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).
| Pairing | Ratio | Normal text | Large text |
|---|---|---|---|
| White text on Blueviolet | 5.96:1 | AA | AAA |
| Black text on Blueviolet | 3.52:1 | Fail | AA |
#6160B6#666EAB#85938BCopy-ready snippets. In CSS you can also use the keyword blueviolet directly.
:root {
--blueviolet: #8A2BE2;
--blueviolet-rgb: 138, 43, 226;
--blueviolet-tint: #BF8AEF;
--blueviolet-shade: #4C187C;
}
.btn-blueviolet {
background: var(--blueviolet);
color: #ffffff;
}
// tailwind.config.js
colors: {
'blueviolet': {
DEFAULT: '#8A2BE2',
light: '#BF8AEF',
dark: '#4C187C',
},
}
The closest CSS named colors by perceptual (Lab) distance.