#8968E2 — Violet

#8968E2 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.

#8968E2 color swatch, violet#8968E2
CSS Namemediumslateblue (closest)

Tints and shades (50–950)

50#f5f4fe
100#eae7fc
200#dad3fd
300#c2b4fe
400#a78df9
500#926ff0
600#805dda
700#6b49bc
800#593c9f
900#4c3289
950#2c1c54

Accessibility

Contrast on white
4.08:1
Contrast on black
5.14: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 292.8); /* #f5f4fe */
  --brand-100: oklch(0.936 0.028 292.8); /* #eae7fc */
  --brand-200: oklch(0.885 0.058 292.8); /* #dad3fd */
  --brand-300: oklch(0.808 0.105 292.8); /* #c2b4fe */
  --brand-400: oklch(0.712 0.155 292.8); /* #a78df9 */
  --brand-500: oklch(0.637 0.187 292.8); /* #926ff0 */
  --brand-600: oklch(0.577 0.183 292.8); /* #805dda */
  --brand-700: oklch(0.505 0.172 292.8); /* #6b49bc */
  --brand-800: oklch(0.444 0.153 292.8); /* #593c9f */
  --brand-900: oklch(0.396 0.138 292.8); /* #4c3289 */
  --brand-950: oklch(0.281 0.097 292.8); /* #2c1c54 */
}

Explore other colors