#8978FB — Violet

#8978FB 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.

#8978FB color swatch, violet#8978FB
CSS Namemediumslateblue (closest)

Tints and shades (50–950)

50#f4f4ff
100#e7e7fd
200#d5d4ff
300#bab7ff
400#9b91ff
500#8571fb
600#745fe4
700#604bc5
800#503da7
900#443390
950#271d58

Accessibility

Contrast on white
3.42:1
Contrast on black
6.14: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.014 285.9); /* #f4f4ff */
  --brand-100: oklch(0.936 0.03 285.9); /* #e7e7fd */
  --brand-200: oklch(0.885 0.059 285.9); /* #d5d4ff */
  --brand-300: oklch(0.808 0.101 285.9); /* #bab7ff */
  --brand-400: oklch(0.712 0.158 285.9); /* #9b91ff */
  --brand-500: oklch(0.637 0.197 285.9); /* #8571fb */
  --brand-600: oklch(0.577 0.193 285.9); /* #745fe4 */
  --brand-700: oklch(0.505 0.182 285.9); /* #604bc5 */
  --brand-800: oklch(0.444 0.162 285.9); /* #503da7 */
  --brand-900: oklch(0.396 0.146 285.9); /* #443390 */
  --brand-950: oklch(0.281 0.103 285.9); /* #271d58 */
}

Explore other colors