#8172CEViolet

#8172CE 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.

#8172CE
CSS Namemediumpurple (closest)

Tints and shades (50–950)

50#f5f4fc
100#e9e8f8
200#d8d5f5
300#beb8f2
400#a095e8
500#8a7adc
600#7968c6
700#6454aa
800#534690
900#463a7b
950#29214b

Accessibility

Contrast on white
4.01:1
Contrast on black
5.23: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.01 289.2); /* #f5f4fc */
  --brand-100: oklch(0.936 0.022 289.2); /* #e9e8f8 */
  --brand-200: oklch(0.885 0.044 289.2); /* #d8d5f5 */
  --brand-300: oklch(0.808 0.08 289.2); /* #beb8f2 */
  --brand-400: oklch(0.712 0.119 289.2); /* #a095e8 */
  --brand-500: oklch(0.637 0.143 289.2); /* #8a7adc */
  --brand-600: oklch(0.577 0.141 289.2); /* #7968c6 */
  --brand-700: oklch(0.505 0.132 289.2); /* #6454aa */
  --brand-800: oklch(0.444 0.118 289.2); /* #534690 */
  --brand-900: oklch(0.396 0.106 289.2); /* #463a7b */
  --brand-950: oklch(0.281 0.075 289.2); /* #29214b */
}

Explore other colors