#978AF1 — Violet

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

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

Tints and shades (50–950)

50#f5f4fd
100#e8e8f9
200#d7d5f8
300#bdb8f6
400#9e94ee
500#8879e3
600#7667cd
700#6253b1
800#524495
900#453980
950#28204e

Accessibility

Contrast on white
2.91:1
Contrast on black
7.22: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.6); /* #f5f4fd */
  --brand-100: oklch(0.936 0.023 287.6); /* #e8e8f9 */
  --brand-200: oklch(0.885 0.048 287.6); /* #d7d5f8 */
  --brand-300: oklch(0.808 0.087 287.6); /* #bdb8f6 */
  --brand-400: oklch(0.712 0.129 287.6); /* #9e94ee */
  --brand-500: oklch(0.637 0.156 287.6); /* #8879e3 */
  --brand-600: oklch(0.577 0.153 287.6); /* #7667cd */
  --brand-700: oklch(0.505 0.143 287.6); /* #6253b1 */
  --brand-800: oklch(0.444 0.128 287.6); /* #524495 */
  --brand-900: oklch(0.396 0.115 287.6); /* #453980 */
  --brand-950: oklch(0.281 0.081 287.6); /* #28204e */
}

Explore other colors