#8870EB — Violet

#8870EB 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.

#8870EB color swatch, violet#8870EB
CSS Namemediumslateblue (closest)

Tints and shades (50–950)

50#f5f4fe
100#e9e7fc
200#d7d4fe
300#beb5ff
400#a18ffc
500#8b71f3
600#7a5fdd
700#664cbe
800#553ea1
900#48338b
950#2a1d55

Accessibility

Contrast on white
3.77:1
Contrast on black
5.56: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.013 289.2); /* #f5f4fe */
  --brand-100: oklch(0.936 0.028 289.2); /* #e9e7fc */
  --brand-200: oklch(0.885 0.058 289.2); /* #d7d4fe */
  --brand-300: oklch(0.808 0.103 289.2); /* #beb5ff */
  --brand-400: oklch(0.712 0.155 289.2); /* #a18ffc */
  --brand-500: oklch(0.637 0.187 289.2); /* #8b71f3 */
  --brand-600: oklch(0.577 0.184 289.2); /* #7a5fdd */
  --brand-700: oklch(0.505 0.172 289.2); /* #664cbe */
  --brand-800: oklch(0.444 0.154 289.2); /* #553ea1 */
  --brand-900: oklch(0.396 0.139 289.2); /* #48338b */
  --brand-950: oklch(0.281 0.097 289.2); /* #2a1d55 */
}

Explore other colors