#8374EB — Violet

#8374EB 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.

#8374EB color swatch, violet#8374EB
CSS Namemediumslateblue (closest)

Tints and shades (50–950)

50#f4f4fe
100#e8e8fc
200#d5d4fe
300#bab7ff
400#9b92fb
500#8575f2
600#7463dc
700#604fbe
800#5040a0
900#44368a
950#271e54

Accessibility

Contrast on white
3.71:1
Contrast on black
5.66: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.013 286.1); /* #f4f4fe */
  --brand-100: oklch(0.936 0.027 286.1); /* #e8e8fc */
  --brand-200: oklch(0.885 0.056 286.1); /* #d5d4fe */
  --brand-300: oklch(0.808 0.101 286.1); /* #bab7ff */
  --brand-400: oklch(0.712 0.151 286.1); /* #9b92fb */
  --brand-500: oklch(0.637 0.182 286.1); /* #8575f2 */
  --brand-600: oklch(0.577 0.178 286.1); /* #7463dc */
  --brand-700: oklch(0.505 0.167 286.1); /* #604fbe */
  --brand-800: oklch(0.444 0.149 286.1); /* #5040a0 */
  --brand-900: oklch(0.396 0.134 286.1); /* #44368a */
  --brand-950: oklch(0.281 0.094 286.1); /* #271e54 */
}

Explore other colors