#800080At hue 300° with 100% saturation, purple lands firmly in the pink family — a warm color through and through. Colors in this range are commonly associated with playfulness, romance and softness, which makes purple a natural fit for lifestyle brands, gentle accents and youthful designs.
With a 9.42:1 contrast ratio against white, purple is dark enough to carry white text at any size — use it confidently for buttons, headers and filled UI elements. It is also dark enough to serve as a background in a dark theme, where lighter tints of purple can act as hover and border states.
For pairings, the complement of purple sits at 120° — #008000, close to green — 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 warm temperature, while the triadic pair gives you a balanced three-color palette. All of these are computed for purple in the palettes below, with copy-ready codes.
Every palette below is computed from purple's position on the color wheel (hue 300°). Hover any swatch to see its code; click to copy.
Tints mix purple 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 purple 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 Purple | 9.42:1 | AAA | AAA |
| Black text on Purple | 2.23:1 | Fail | Fail |
#494761#505A5A#7A4943Copy-ready snippets. In CSS you can also use the keyword purple directly.
:root {
--purple: #800080;
--purple-rgb: 128, 0, 128;
--purple-tint: #B973B9;
--purple-shade: #460046;
}
.btn-purple {
background: var(--purple);
color: #ffffff;
}
// tailwind.config.js
colors: {
'purple': {
DEFAULT: '#800080',
light: '#B973B9',
dark: '#460046',
},
}
The closest CSS named colors by perceptual (Lab) distance.