#978AF2 — Violet

#978AF2 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.

#978AF2 color swatch, violet#978AF2
CSS Namemediumpurple (closest)

Tints and shades (50–950)

50#f5f4fd
100#e8e8f9
200#d6d5f8
300#bcb8f7
400#9e94ef
500#8878e4
600#7667ce
700#6253b1
800#524496
900#453981
950#28204f

Accessibility

Contrast on white
2.90:1
Contrast on black
7.23:1
  • AA (4.5:1) on whiteFail
  • AA Large (3:1) on whiteFail
  • AAA (7:1) on whiteFail
  • AAA Large (4.5:1) on whiteFail
  • UI components (3:1) on whiteFail

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.011 287.5); /* #f5f4fd */
  --brand-100: oklch(0.936 0.024 287.5); /* #e8e8f9 */
  --brand-200: oklch(0.885 0.049 287.5); /* #d6d5f8 */
  --brand-300: oklch(0.808 0.088 287.5); /* #bcb8f7 */
  --brand-400: oklch(0.712 0.131 287.5); /* #9e94ef */
  --brand-500: oklch(0.637 0.157 287.5); /* #8878e4 */
  --brand-600: oklch(0.577 0.154 287.5); /* #7667ce */
  --brand-700: oklch(0.505 0.145 287.5); /* #6253b1 */
  --brand-800: oklch(0.444 0.129 287.5); /* #524496 */
  --brand-900: oklch(0.396 0.116 287.5); /* #453981 */
  --brand-950: oklch(0.281 0.082 287.5); /* #28204f */
}

Explore other colors