#948AFA — Violet

#948AFA 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.

#948AFA color swatch, violet#948AFA
CSS Namecornflowerblue (closest)

Tints and shades (50–950)

50#f4f4fd
100#e8e8fb
200#d5d5fb
300#bab8fb
400#9b94f5
500#8478ec
600#7366d5
700#5f52b8
800#4f439b
900#433886
950#272052

Accessibility

Contrast on white
2.89:1
Contrast on black
7.27: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 285.4); /* #f4f4fd */
  --brand-100: oklch(0.936 0.025 285.4); /* #e8e8fb */
  --brand-200: oklch(0.885 0.052 285.4); /* #d5d5fb */
  --brand-300: oklch(0.808 0.095 285.4); /* #bab8fb */
  --brand-400: oklch(0.712 0.14 285.4); /* #9b94f5 */
  --brand-500: oklch(0.637 0.169 285.4); /* #8478ec */
  --brand-600: oklch(0.577 0.166 285.4); /* #7366d5 */
  --brand-700: oklch(0.505 0.155 285.4); /* #5f52b8 */
  --brand-800: oklch(0.444 0.138 285.4); /* #4f439b */
  --brand-900: oklch(0.396 0.125 285.4); /* #433886 */
  --brand-950: oklch(0.281 0.088 285.4); /* #272052 */
}

Explore other colors