#978AF8 — Violet

#978AF8 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.

#978AF8 color swatch, violet#978AF8
CSS Namecornflowerblue (closest)

Tints and shades (50–950)

50#f5f4fd
100#e8e8fa
200#d6d5fa
300#bcb8fa
400#9d93f3
500#8777e9
600#7565d3
700#6151b6
800#51439a
900#443884
950#282051

Accessibility

Contrast on white
2.87:1
Contrast on black
7.31: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 286.9); /* #f5f4fd */
  --brand-100: oklch(0.936 0.025 286.9); /* #e8e8fa */
  --brand-200: oklch(0.885 0.051 286.9); /* #d6d5fa */
  --brand-300: oklch(0.808 0.093 286.9); /* #bcb8fa */
  --brand-400: oklch(0.712 0.138 286.9); /* #9d93f3 */
  --brand-500: oklch(0.637 0.166 286.9); /* #8777e9 */
  --brand-600: oklch(0.577 0.163 286.9); /* #7565d3 */
  --brand-700: oklch(0.505 0.153 286.9); /* #6151b6 */
  --brand-800: oklch(0.444 0.136 286.9); /* #51439a */
  --brand-900: oklch(0.396 0.123 286.9); /* #443884 */
  --brand-950: oklch(0.281 0.086 286.9); /* #282051 */
}

Explore other colors