#8A2BE2 Blue Violet
#8A2BE2 is Blue Violet.
#8A2BE2
Blue Violet
What are the RGB, HSL, OKLCH and CMYK values of #8A2BE2?
- HEX
- #8A2BE2
- RGB
- rgb(138, 43, 226)
- HSL
- hsl(271, 76%, 53%)
- OKLCH
- oklch(53.4% 0.250 301)
- CMYK
- 39, 81, 0, 11
#8A2BE2 has a contrast ratio of 5.96:1 against white and 3.52:1 against black, so white is the better background for text in this color and light text reads best on it.
Contrast checker
Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.
| Text ↓ / Bg → | #8A2BE2 |
|---|---|
| #8A2BE2 | Same color |
| White | 6.0AA |
| Near-black | 2.9Fail |
AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only
Text that works on each color
- White on #8A2BE2 · 6.0:1
Tints and shades of #8A2BE2
Same hue and chroma in OKLCH, lighter to darker.
Colors that go with #8A2BE2
Six harmony rules built from this color. Open any in the Studio.
- AnalogousNeighboring hues. Calm and cohesive, with little tension.
- ComplementaryOpposite hues. Maximum contrast — strong for accents.
- SplitA hue plus the two neighbors of its opposite. Contrast without the clash.
- TriadicThree evenly spaced hues. Vivid and balanced.
- TetradicFour hues in two complementary pairs. Rich, and easy to overuse.
- MonoOne hue across a range of lightness. Always harmonious.
Color blindness check
About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.
No green cones — the most common form. No two swatches become hard to tell apart here.
Export
Copy-paste code, or download the swatches.
:root {
--blue-violet-1: #8A2BE2; /* Blue Violet */
}Palettes, gradients and meshes with #8A2BE2
Items using this color or one perceptually close to it, closest first.