#987DEA — Violet

#987DEA 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.

#987DEA color swatch, violet#987DEA
CSS Namemediumpurple (closest)

Tints and shades (50–950)

50#f5f4fd
100#eae7fa
200#dad3f9
300#c2b5f8
400#a690f0
500#9173e5
600#7f62cf
700#6a4eb2
800#584097
900#4b3581
950#2c1e4f

Accessibility

Contrast on white
3.25:1
Contrast on black
6.46: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.012 293); /* #f5f4fd */
  --brand-100: oklch(0.936 0.025 293); /* #eae7fa */
  --brand-200: oklch(0.885 0.052 293); /* #dad3f9 */
  --brand-300: oklch(0.808 0.093 293); /* #c2b5f8 */
  --brand-400: oklch(0.712 0.138 293); /* #a690f0 */
  --brand-500: oklch(0.637 0.166 293); /* #9173e5 */
  --brand-600: oklch(0.577 0.163 293); /* #7f62cf */
  --brand-700: oklch(0.505 0.153 293); /* #6a4eb2 */
  --brand-800: oklch(0.444 0.136 293); /* #584097 */
  --brand-900: oklch(0.396 0.123 293); /* #4b3581 */
  --brand-950: oklch(0.281 0.086 293); /* #2c1e4f */
}

Explore other colors