Color Details for VIOLET-40

USWDS Details

  • Backgound: bg-violet-40
  • Text Color: text-violet-40
  • System Palette Token: violet-40

Color Contrast
Courtesy of WebAIM Contrast API

  • Foreground Color: #171717
  • Background Color: #9D84D2
  • Contrast Ratio: 5.68
  • AA: PASS
  • AA Large: PASS
  • AAA: FAIL
  • AAA Large: PASS

Additional Color Information
Courtesy of thecolorapi.com

  • HEX: #9D84D2
  • CMYK: 25, 37, 0, 18
  • HSL: 259, 46%, 67%
  • HSV: 259, 37, 82
  • RGB: 157, 132, 210
  • Closest Color Name
    • Name: Lilac Bush (#9874D3)
    • Exact Match: false
    • Distance : 820

WCAG 2 level AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text, and a contrast ratio of at least 3:1 for graphics and user interface components (such as form input borders). Level AAA requires a contrast ratio of at least 7:1 for normal text and 4.5:1 for large text.

Large text is defined as 14 point (typically 18.66px) and bold or larger, or 18 point (typically 24px) or larger.

Note: Color contrast is based on grades less than 50 using the base color (171717) and grades above 40 using white text (ffffff).

Page content was last updated: Sunday, March 3, 2019