Blue Violet (#8A2BE2)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 5.96:1 — vs black: 3.52:1
Color values
-
HEX
#8A2BE2 -
RGB
rgb(138, 43, 226) -
HSL
hsl(271, 80%, 88%) -
CMYK
cmyk( 38.94, 80.97, 0, 11.37 ) -
Websafe
#9933CC
Tags
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #8A2BE2 based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#8A2BE2
Base
#83E22B
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#8A2BE2
Base
#2E2BE2
#E22BDF
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#8A2BE2
Base
#E28A2B
#2BE28A
Two colors flanking the complement — high contrast with less tension than full complementary.
#8A2BE2
Base
#DFE22B
#2BE22E
Four colors at 90° intervals — rich variety, best when one color dominates.
#8A2BE2
Base
#E22E2B
#83E22B
#2BDFE2
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#8A2BE2
Base
#3C0E66
#6317A9
#751BC9
#9E4FE7
#AF6EEB
#D4B2F4
Darker shades and lighter tints of Blue Violet, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#0D0316
#260941
#3F0F6C
#581597
#711BC2
#8A2BE2
Base
#9F51E7
#B477EC
#C99DF2
#DEC3F7
#F3E9FC
Ready-to-use code snippets for #8A2BE2. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #8A2BE2;
}
/* Text */
.element {
color: #8A2BE2;
}
/* Border */
.element {
border: 1px solid #8A2BE2;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#8A2BE2,
#E1F9CB
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#8A2BE2,
#E1F9CB
);
}
// SCSS variable
$blue-violet: #8A2BE2;
// With RGB channels (useful for rgba() usage)
$blue-violet-r: 138;
$blue-violet-g: 43;
$blue-violet-b: 226;
// Usage
.element {
background-color: $blue-violet;
color: rgba($blue-violet-r, $blue-violet-g, $blue-violet-b, 0.8);
}
How Blue Violet appears to people with different types of color vision deficiency.
#8A2BE2
How the color appears with full color vision.
#5555E1
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#3F3FE2
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#6E6060
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#646464
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.