#8173EB — Violet

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

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

Tints and shades (50–950)

50#f4f4fe
100#e8e8fc
200#d5d4fe
300#bab7ff
400#9a92fc
500#8475f4
600#7363dd
700#604fbf
800#4f40a1
900#43368b
950#271e55

Accessibility

Contrast on white
3.76:1
Contrast on black
5.59: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 285.5); /* #f4f4fe */
  --brand-100: oklch(0.936 0.027 285.5); /* #e8e8fc */
  --brand-200: oklch(0.885 0.057 285.5); /* #d5d4fe */
  --brand-300: oklch(0.808 0.101 285.5); /* #bab7ff */
  --brand-400: oklch(0.712 0.152 285.5); /* #9a92fc */
  --brand-500: oklch(0.637 0.183 285.5); /* #8475f4 */
  --brand-600: oklch(0.577 0.18 285.5); /* #7363dd */
  --brand-700: oklch(0.505 0.169 285.5); /* #604fbf */
  --brand-800: oklch(0.444 0.15 285.5); /* #4f40a1 */
  --brand-900: oklch(0.396 0.136 285.5); /* #43368b */
  --brand-950: oklch(0.281 0.095 285.5); /* #271e55 */
}

Explore other colors