#786DD8 — Violet

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

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

Tints and shades (50–950)

50#f4f4fd
100#e8e8fa
200#d5d5fb
300#bab8fa
400#9a94f4
500#8478ea
600#7366d4
700#5f52b7
800#4f449a
900#423885
950#262051

Accessibility

Contrast on white
4.22:1
Contrast on black
4.98: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.2); /* #f4f4fd */
  --brand-100: oklch(0.936 0.025 285.2); /* #e8e8fa */
  --brand-200: oklch(0.885 0.051 285.2); /* #d5d5fb */
  --brand-300: oklch(0.808 0.093 285.2); /* #bab8fa */
  --brand-400: oklch(0.712 0.138 285.2); /* #9a94f4 */
  --brand-500: oklch(0.637 0.166 285.2); /* #8478ea */
  --brand-600: oklch(0.577 0.163 285.2); /* #7366d4 */
  --brand-700: oklch(0.505 0.153 285.2); /* #5f52b7 */
  --brand-800: oklch(0.444 0.136 285.2); /* #4f449a */
  --brand-900: oklch(0.396 0.123 285.2); /* #423885 */
  --brand-950: oklch(0.281 0.086 285.2); /* #262051 */
}

Explore other colors