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

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
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.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Blue Violet
#8A2BE2 Base
#83E22B
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Blue Violet
#8A2BE2 Base
#2E2BE2
#E22BDF
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Blue Violet
#8A2BE2 Base
#E28A2B
#2BE28A
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Blue Violet
#8A2BE2 Base
#DFE22B
#2BE22E
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Blue Violet
#8A2BE2 Base
#E22E2B
#83E22B
#2BDFE2
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Blue Violet
#8A2BE2 Base
#3C0E66
#6317A9
#751BC9
#9E4FE7
#AF6EEB
#D4B2F4
Shades & Tints

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
Blue Violet #8A2BE2 Base
#9F51E7
#B477EC
#C99DF2
#DEC3F7
#F3E9FC
CSS & SCSS Snippets

Ready-to-use code snippets for #8A2BE2. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #8A2BE2;
}

/* Text */
.element {
    color: #8A2BE2;
}

/* Border */
.element {
    border: 1px solid #8A2BE2;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #8A2BE2,
        #E1F9CB
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #8A2BE2,
        #E1F9CB
    );
}
SCSS Variable
// 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);
}
Color Blindness Simulation

How Blue Violet appears to people with different types of color vision deficiency.

Normal Vision #8A2BE2 How the color appears with full color vision.
Deuteranopia #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.
Protanopia #3F3FE2 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #6E6060 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #646464 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Blue Violet ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Blue Violet #8A2BE2 Base
Electric Violet #8F00FF ΔE 3.51
Veronica #A020F0 ΔE 3.74
Dark Violet #9400D3 ΔE 4.04
Violet (color Wheel) #7F00FF ΔE 4.24

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.