Affair

#7E4A8C

General Information about #7E4A8C (Affair)

The hex color #7E4A8C, known as Affair, is a shade of medium-dark purple with a mysterious and sophisticated character. It is composed of 49.4% red, 29% green, and 54.9% blue. In the RGB color space, it represents a blend of red and blue dominance, lending to its purplish hue. This color is often associated with creativity, luxury, and a sense of intrigue. Affair can evoke feelings of calmness and sophistication, making it a popular choice in various design applications. Its unique blend of warmth and coolness provides versatility, allowing it to be used in both modern and traditional contexts. In the CMYK color model, the composition is 10% cyan, 47% magenta, 0% yellow, and 45% black.

The color #7E4A8C, also known as Affair, presents some accessibility challenges, particularly concerning color contrast. When used as text against a white background, it may not meet the WCAG (Web Content Accessibility Guidelines) AA standards for normal text, requiring a contrast ratio of at least 4.5:1. Similarly, it might fall short for large text, which needs a contrast ratio of 3:1. To improve accessibility, consider using a lighter background or a darker text color. For instance, pairing Affair with a very light yellow or cream background could enhance readability. Alternatively, employing Affair as a background color with white or very light text could also be effective. Always test color combinations with accessibility tools to ensure compliance with WCAG guidelines, ensuring a more inclusive and user-friendly experience for individuals with visual impairments.

Shades

Digital Color Formats

RGB
126 74 140
RGB126 74 140
Red
Green
Blue
HSL
287.27 30.84% 41.96%
287.2730.8441.96HSL
Hue
Saturation
Lightness
HWB
287.27 29.02% 45.1%
287.2729.0245.1HWB
Hue
Whiteness
Blackness
hex#7E4A8C
rgb126 74 140
hsl287.27 30.84% 41.96%
cmyk10% 47.14% 0% 45.1%
hwb287.27 29.02% 45.1%
xyz15.79 11.23 26.15
CMYK
10% 47.14% 0% 45.1%
1047.14045.1CMYK
Cyan
Magenta
Yellow
Key
XYZ
15.79 11.23 26.15
15.7911.2326.15XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025