#845FDF — Violet

#845FDF 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.

#845FDF color swatch, violet#845FDF
CSS Namemediumslateblue (closest)

Tints and shades (50–950)

50#f5f4fe
100#eae7fc
200#dad2ff
300#c3b3ff
400#a78bfd
500#936cf5
600#815ade
700#6c47c0
800#5a3aa2
900#4d308c
950#2d1a56

Accessibility

Contrast on white
4.48:1
Contrast on black
4.68:1
  • AA (4.5:1) on whiteFail
  • AA Large (3:1) on whitePass
  • AAA (7:1) on whiteFail
  • AAA Large (4.5:1) on whiteFail
  • UI components (3:1) on whitePass

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.014 293.1); /* #f5f4fe */
  --brand-100: oklch(0.936 0.029 293.1); /* #eae7fc */
  --brand-200: oklch(0.885 0.061 293.1); /* #dad2ff */
  --brand-300: oklch(0.808 0.106 293.1); /* #c3b3ff */
  --brand-400: oklch(0.712 0.163 293.1); /* #a78bfd */
  --brand-500: oklch(0.637 0.196 293.1); /* #936cf5 */
  --brand-600: oklch(0.577 0.192 293.1); /* #815ade */
  --brand-700: oklch(0.505 0.181 293.1); /* #6c47c0 */
  --brand-800: oklch(0.444 0.161 293.1); /* #5a3aa2 */
  --brand-900: oklch(0.396 0.145 293.1); /* #4d308c */
  --brand-950: oklch(0.281 0.102 293.1); /* #2d1a56 */
}

Explore other colors