#845CD7Violet

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

#845CD7
CSS Namemediumslateblue (closest)

Tints and shades (50–950)

50#f6f4fe
100#ebe6fc
200#dbd2fd
300#c5b3fe
400#aa8bf9
500#966cf0
600#845bda
700#6f47bc
800#5d3a9f
900#4e3088
950#2e1b54

Accessibility

Contrast on white
4.67:1
Contrast on black
4.49:1
  • AA (4.5:1) on whitePass
  • AA Large (3:1) on whitePass
  • AAA (7:1) on whiteFail
  • AAA Large (4.5:1) on whitePass
  • 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.013 295.1); /* #f6f4fe */
  --brand-100: oklch(0.936 0.029 295.1); /* #ebe6fc */
  --brand-200: oklch(0.885 0.059 295.1); /* #dbd2fd */
  --brand-300: oklch(0.808 0.107 295.1); /* #c5b3fe */
  --brand-400: oklch(0.712 0.158 295.1); /* #aa8bf9 */
  --brand-500: oklch(0.637 0.19 295.1); /* #966cf0 */
  --brand-600: oklch(0.577 0.186 295.1); /* #845bda */
  --brand-700: oklch(0.505 0.175 295.1); /* #6f47bc */
  --brand-800: oklch(0.444 0.156 295.1); /* #5d3a9f */
  --brand-900: oklch(0.396 0.141 295.1); /* #4e3088 */
  --brand-950: oklch(0.281 0.099 295.1); /* #2e1b54 */
}

Explore other colors