Skip to main content

Affair

#7E408C

Affair is a cool medium color with the hex code #7E408C. This moderately saturated hue can be represented as RGB 126, 64, 140 in digital design or CMYK 10%, 54%, 0%, 45% for print applications. Find matching Pantone color.

Affair color values

HEX
#7E408C
RGB
126, 64, 140
HSL
289°, 37%, 40%
CMYK
10, 54, 0, 45

About this color

Affair sits at 289° on the color wheel with 37% saturation and 40% lightness, placing it in the violet-magenta segment of the spectrum. The moderate 37% saturation gives it enough color presence to register clearly without competing for dominance in a composition. Its mid-range lightness positions it as a mid-tone: neither a background color nor a deep accent, but something in between.

In digital environments, Affair is rendered as rgb(126, 64, 140), where the blue channel is highest at 140, though it sits close to the other channels. This cool mid-tone is a reliable choice for UI chrome, informational states, and contexts that call for a calm, readable presence.

For print, Affair translates to a CMYK breakdown of 10C 54M 0Y 45K. With a moderate key (45%), this color uses black to deepen the chromatic channels rather than replace them, a profile that typically holds up well in both offset and digital print. No brands in the brandkit.pro library currently specify this exact hex as a named brand color.

How to use Affair

CSS Variable

:root {
  --brand-primary: #7E408C;
  --brand-primary-rgb: 126, 64, 140;
}

Define as a CSS custom property for consistent theming across your site.

Tailwind Config

colors: {
  brand: '#7E408C',
}

Add to your Tailwind config to use classes like bg-brand.

Print Design (CMYK)

C: 10%
M: 54%
Y: 0%
K: 45%

Use these CMYK values in Adobe Illustrator, InDesign, or print specifications.

RGB for Screens

rgb(126, 64, 140)
rgba(126, 64, 140, 0.8)

Use RGB notation for compatibility or add alpha channel for transparency.

Brands using similar hue

8 brand s with colors near 289° on the color wheel

Frequently asked questions

What color is #7E408C?
#7E408C is Affair, a cool medium color with RGB values of 126, 64, 140. It has a hue of 289°, 37% saturation, and 40% lightness in the HSL color space.
What is the RGB value of #7E408C?
The RGB color code for #7E408C is rgb(126, 64, 140). This means it contains 126 red, 64 green, and 140 blue in the RGB color model.
Is Affair a warm or cool color?
Affair (#7E408C) is a cool color with a hue between 120-300° on the color wheel.
How do I use #7E408C in CSS?
You can use #7E408C in CSS with: background-color: #7E408C; or color: #7E408C; or as an RGB value: rgb(126, 64, 140). For print design, use CMYK: 10%, 54%, 0%, 45%.