Blue Violet sits in the violet / purple family, with the hex code #8A2BE2 mapping to rgb(138, 43, 226) in RGB and hsl(271.1, 75.9%, 52.7%) in HSL. In OKLCH it carries 53% perceptual lightness and 0.250 chroma — a highly saturated, dark reading that behaves well as a primary, accent or decisive colour in modern interfaces. Violet historically required the most expensive dyes, which is why it still carries associations with luxury, royalty and creativity. In modern UI it has become the signature of imaginative, "premium" tech — the colour brands choose when blue feels too utilitarian.
Violet historically required the most expensive dyes, which is why it still carries associations with luxury, royalty and creativity. In modern UI it has become the signature of imaginative, "premium" tech — the colour brands choose when blue feels too utilitarian.
Deep violets render almost identically to navy on small screens — keep at least 0.10 chroma in OKLCH or it will collapse to "dark blue" in users' minds.
#8A2BE2rgb(138, 43, 226)hsl(271.1, 75.9%, 52.7%)hsv(271.1, 81%, 88.6%)lch(41.21% 98.69 309.68)oklch(53.38% 0.2503 301.37)lab(41.21% 63.01 -75.96):root {
--color: #8a2be2;
--color-rgb: rgb(138, 43, 226);
--color-hsl: hsl(271.1, 75.9%, 52.7%);
--color-oklch: oklch(53.38% 0.2503 301.37);
}How blue violet performs as foreground text on common surfaces, scored with WCAG 2.1.
Tints are produced by mixing blue violet with progressively more white.
Shades are produced by mixing blue violet with progressively more black.
Tones are produced by mixing blue violet with progressively more gray, lowering chroma while keeping lightness.