#AF89FAViolet

#AF89FA 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.

#AF89FA
CSS Namemediumpurple (closest)

Tints and shades (50–950)

50#f6f4fd
100#ebe7f9
200#ddd2f9
300#c7b3f7
400#ad8def
500#9970e4
600#875ece
700#714bb1
800#5e3d96
900#503381
950#2f1c4f

Accessibility

Contrast on white
2.70:1
Contrast on black
7.78:1
  • AA (4.5:1) on whiteFail
  • AA Large (3:1) on whiteFail
  • AAA (7:1) on whiteFail
  • AAA Large (4.5:1) on whiteFail
  • UI components (3:1) on whiteFail

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 297.6); /* #f6f4fd */
  --brand-100: oklch(0.936 0.026 297.6); /* #ebe7f9 */
  --brand-200: oklch(0.885 0.053 297.6); /* #ddd2f9 */
  --brand-300: oklch(0.808 0.096 297.6); /* #c7b3f7 */
  --brand-400: oklch(0.712 0.142 297.6); /* #ad8def */
  --brand-500: oklch(0.637 0.171 297.6); /* #9970e4 */
  --brand-600: oklch(0.577 0.168 297.6); /* #875ece */
  --brand-700: oklch(0.505 0.157 297.6); /* #714bb1 */
  --brand-800: oklch(0.444 0.14 297.6); /* #5e3d96 */
  --brand-900: oklch(0.396 0.127 297.6); /* #503381 */
  --brand-950: oklch(0.281 0.089 297.6); /* #2f1c4f */
}

Explore other colors