#AF8DFF — Violet

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

#AF8DFF color swatch, violet#AF8DFF
CSS Namemediumpurple (closest)

Tints and shades (50–950)

50#f6f4fd
100#ebe7fa
200#dbd3f9
300#c5b4f8
400#aa8ef0
500#9671e6
600#845fd0
700#6e4cb3
800#5c3e97
900#4e3382
950#2e1d4f

Accessibility

Contrast on white
2.60:1
Contrast on black
8.08: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 295.8); /* #f6f4fd */
  --brand-100: oklch(0.936 0.026 295.8); /* #ebe7fa */
  --brand-200: oklch(0.885 0.053 295.8); /* #dbd3f9 */
  --brand-300: oklch(0.808 0.096 295.8); /* #c5b4f8 */
  --brand-400: oklch(0.712 0.142 295.8); /* #aa8ef0 */
  --brand-500: oklch(0.637 0.171 295.8); /* #9671e6 */
  --brand-600: oklch(0.577 0.168 295.8); /* #845fd0 */
  --brand-700: oklch(0.505 0.158 295.8); /* #6e4cb3 */
  --brand-800: oklch(0.444 0.141 295.8); /* #5c3e97 */
  --brand-900: oklch(0.396 0.127 295.8); /* #4e3382 */
  --brand-950: oklch(0.281 0.089 295.8); /* #2e1d4f */
}

Explore other colors