#998AFB — Violet

#998AFB 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.

#998AFB color swatch, violet#998AFB
CSS Namemediumpurple (closest)

Tints and shades (50–950)

50#f5f4fd
100#e8e8fb
200#d6d4fb
300#bcb7fb
400#9e92f5
500#8876eb
600#7764d5
700#6250b7
800#52429b
900#453785
950#281f51

Accessibility

Contrast on white
2.84:1
Contrast on black
7.38: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.012 287.5); /* #f5f4fd */
  --brand-100: oklch(0.936 0.025 287.5); /* #e8e8fb */
  --brand-200: oklch(0.885 0.053 287.5); /* #d6d4fb */
  --brand-300: oklch(0.808 0.095 287.5); /* #bcb7fb */
  --brand-400: oklch(0.712 0.141 287.5); /* #9e92f5 */
  --brand-500: oklch(0.637 0.17 287.5); /* #8876eb */
  --brand-600: oklch(0.577 0.167 287.5); /* #7764d5 */
  --brand-700: oklch(0.505 0.156 287.5); /* #6250b7 */
  --brand-800: oklch(0.444 0.139 287.5); /* #52429b */
  --brand-900: oklch(0.396 0.126 287.5); /* #453785 */
  --brand-950: oklch(0.281 0.088 287.5); /* #281f51 */
}

Explore other colors