#9879EB — Violet

#9879EB is a violet in the Violet family. In practice it looks like a balanced medium violet, and it is also commonly known as Violet, Amethyst. Below are all of its color space values, an 11-step scale, harmony palettes and accessibility data.

#9879EB color swatch, violet#9879EB
CSS Namemediumpurple (closest)

Tints and shades (50–950)

50#f6f4fd
100#eae7fa
200#dad3fa
300#c3b4fa
400#a88ff3
500#9371e9
600#815fd3
700#6c4cb5
800#5a3e99
900#4c3484
950#2d1d50

Accessibility

Contrast on white
3.35:1
Contrast on black
6.27:1
  • AA (4.5:1) on whiteFail
  • AA Large (3:1) on whitePass
  • AAA (7:1) on whiteFail
  • AAA Large (4.5:1) on whiteFail
  • UI components (3:1) on whitePass

Need a passing variant? Repair this color in the contrast checker.

Complementary palette

Analogous palette

Triadic palette

Copy-ready CSS

brand-scale.css
:root {
  --brand-50: oklch(0.971 0.012 293.9); /* #f6f4fd */
  --brand-100: oklch(0.936 0.026 293.9); /* #eae7fa */
  --brand-200: oklch(0.885 0.054 293.9); /* #dad3fa */
  --brand-300: oklch(0.808 0.097 293.9); /* #c3b4fa */
  --brand-400: oklch(0.712 0.144 293.9); /* #a88ff3 */
  --brand-500: oklch(0.637 0.174 293.9); /* #9371e9 */
  --brand-600: oklch(0.577 0.17 293.9); /* #815fd3 */
  --brand-700: oklch(0.505 0.16 293.9); /* #6c4cb5 */
  --brand-800: oklch(0.444 0.143 293.9); /* #5a3e99 */
  --brand-900: oklch(0.396 0.129 293.9); /* #4c3484 */
  --brand-950: oklch(0.281 0.09 293.9); /* #2d1d50 */
}

Explore other colors