#9874DC — Violet

#9874DC 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.

#9874DC color swatch, violet#9874DC
CSS Namemediumpurple (closest)

Tints and shades (50–950)

50#f6f4fc
100#ebe7f8
200#ddd3f7
300#c7b4f4
400#ac8feb
500#9872df
600#8660c9
700#704dad
800#5e3f92
900#4f347d
950#2f1d4c

Accessibility

Contrast on white
3.58:1
Contrast on black
5.87: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.011 297.9); /* #f6f4fc */
  --brand-100: oklch(0.936 0.024 297.9); /* #ebe7f8 */
  --brand-200: oklch(0.885 0.05 297.9); /* #ddd3f7 */
  --brand-300: oklch(0.808 0.09 297.9); /* #c7b4f4 */
  --brand-400: oklch(0.712 0.134 297.9); /* #ac8feb */
  --brand-500: oklch(0.637 0.161 297.9); /* #9872df */
  --brand-600: oklch(0.577 0.158 297.9); /* #8660c9 */
  --brand-700: oklch(0.505 0.149 297.9); /* #704dad */
  --brand-800: oklch(0.444 0.132 297.9); /* #5e3f92 */
  --brand-900: oklch(0.396 0.119 297.9); /* #4f347d */
  --brand-950: oklch(0.281 0.084 297.9); /* #2f1d4c */
}

Explore other colors