#B28AFF — Violet

#B28AFF 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.

#B28AFF color swatch, violet#B28AFF
CSS Namemediumpurple (closest)

Tints and shades (50–950)

50#f6f4fd
100#ece6fa
200#ddd2f9
300#c7b3f8
400#ae8cf1
500#9a6ee7
600#875cd1
700#7249b4
800#5f3c98
900#503182
950#2f1c50

Accessibility

Contrast on white
2.63:1
Contrast on black
7.97: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 297.8); /* #f6f4fd */
  --brand-100: oklch(0.936 0.026 297.8); /* #ece6fa */
  --brand-200: oklch(0.885 0.055 297.8); /* #ddd2f9 */
  --brand-300: oklch(0.808 0.099 297.8); /* #c7b3f8 */
  --brand-400: oklch(0.712 0.147 297.8); /* #ae8cf1 */
  --brand-500: oklch(0.637 0.177 297.8); /* #9a6ee7 */
  --brand-600: oklch(0.577 0.173 297.8); /* #875cd1 */
  --brand-700: oklch(0.505 0.162 297.8); /* #7249b4 */
  --brand-800: oklch(0.444 0.145 297.8); /* #5f3c98 */
  --brand-900: oklch(0.396 0.131 297.8); /* #503182 */
  --brand-950: oklch(0.281 0.092 297.8); /* #2f1c50 */
}

Explore other colors