#786BD7 — Violet

#786BD7 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.

#786BD7 color swatch, violet#786BD7
CSS Namemediumslateblue (closest)

Tints and shades (50–950)

50#f4f4fd
100#e8e8fb
200#d5d5fb
300#bab8fb
400#9b94f5
500#8577eb
600#7466d4
700#6052b7
800#50439b
900#433885
950#272051

Accessibility

Contrast on white
4.30:1
Contrast on black
4.88: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 285.9); /* #f4f4fd */
  --brand-100: oklch(0.936 0.025 285.9); /* #e8e8fb */
  --brand-200: oklch(0.885 0.052 285.9); /* #d5d5fb */
  --brand-300: oklch(0.808 0.094 285.9); /* #bab8fb */
  --brand-400: oklch(0.712 0.139 285.9); /* #9b94f5 */
  --brand-500: oklch(0.637 0.168 285.9); /* #8577eb */
  --brand-600: oklch(0.577 0.164 285.9); /* #7466d4 */
  --brand-700: oklch(0.505 0.154 285.9); /* #6052b7 */
  --brand-800: oklch(0.444 0.137 285.9); /* #50439b */
  --brand-900: oklch(0.396 0.124 285.9); /* #433885 */
  --brand-950: oklch(0.281 0.087 285.9); /* #272051 */
}

Explore other colors