#8262E2 — Violet

#8262E2 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.

#8262E2 color swatch, violet#8262E2
CSS Namemediumslateblue (closest)

Tints and shades (50–950)

50#f5f4fe
100#e9e7fd
200#d9d3ff
300#c0b4ff
400#a48dff
500#8f6ef6
600#7e5cdf
700#6948c1
800#583ba3
900#4a318d
950#2b1b56

Accessibility

Contrast on white
4.38:1
Contrast on black
4.79: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 291.1); /* #f5f4fe */
  --brand-100: oklch(0.936 0.029 291.1); /* #e9e7fd */
  --brand-200: oklch(0.885 0.061 291.1); /* #d9d3ff */
  --brand-300: oklch(0.808 0.105 291.1); /* #c0b4ff */
  --brand-400: oklch(0.712 0.162 291.1); /* #a48dff */
  --brand-500: oklch(0.637 0.196 291.1); /* #8f6ef6 */
  --brand-600: oklch(0.577 0.192 291.1); /* #7e5cdf */
  --brand-700: oklch(0.505 0.18 291.1); /* #6948c1 */
  --brand-800: oklch(0.444 0.161 291.1); /* #583ba3 */
  --brand-900: oklch(0.396 0.145 291.1); /* #4a318d */
  --brand-950: oklch(0.281 0.102 291.1); /* #2b1b56 */
}

Explore other colors