#AF98FF — Violet

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

#AF98FF color swatch, violet#AF98FF
CSS Nameplum (closest)

Tints and shades (50–950)

50#f5f4fc
100#eae7f8
200#d9d4f7
300#c2b6f4
400#a592eb
500#9076df
600#7e64c9
700#6951ad
800#584292
900#4a377d
950#2b1f4c

Accessibility

Contrast on white
2.40:1
Contrast on black
8.76: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.011 292.7); /* #f5f4fc */
  --brand-100: oklch(0.936 0.023 292.7); /* #eae7f8 */
  --brand-200: oklch(0.885 0.048 292.7); /* #d9d4f7 */
  --brand-300: oklch(0.808 0.086 292.7); /* #c2b6f4 */
  --brand-400: oklch(0.712 0.128 292.7); /* #a592eb */
  --brand-500: oklch(0.637 0.154 292.7); /* #9076df */
  --brand-600: oklch(0.577 0.151 292.7); /* #7e64c9 */
  --brand-700: oklch(0.505 0.142 292.7); /* #6951ad */
  --brand-800: oklch(0.444 0.126 292.7); /* #584292 */
  --brand-900: oklch(0.396 0.114 292.7); /* #4a377d */
  --brand-950: oklch(0.281 0.08 292.7); /* #2b1f4c */
}

Explore other colors