#796BD3 — Violet

#796BD3 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.

#796BD3 color swatch, violet#796BD3
CSS Namemediumslateblue (closest)

Tints and shades (50–950)

50#f5f4fd
100#e8e8fa
200#d6d5f9
300#bcb8f8
400#9d94f1
500#8678e7
600#7566d1
700#6152b4
800#514498
900#443883
950#272050

Accessibility

Contrast on white
4.32:1
Contrast on black
4.86: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 286.8); /* #f5f4fd */
  --brand-100: oklch(0.936 0.024 286.8); /* #e8e8fa */
  --brand-200: oklch(0.885 0.05 286.8); /* #d6d5f9 */
  --brand-300: oklch(0.808 0.091 286.8); /* #bcb8f8 */
  --brand-400: oklch(0.712 0.134 286.8); /* #9d94f1 */
  --brand-500: oklch(0.637 0.162 286.8); /* #8678e7 */
  --brand-600: oklch(0.577 0.159 286.8); /* #7566d1 */
  --brand-700: oklch(0.505 0.149 286.8); /* #6152b4 */
  --brand-800: oklch(0.444 0.133 286.8); /* #514498 */
  --brand-900: oklch(0.396 0.12 286.8); /* #443883 */
  --brand-950: oklch(0.281 0.084 286.8); /* #272050 */
}

Explore other colors