Skip to main content

Affair

#7B408C

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

Affair color values

HEX
#7B408C
RGB
123, 64, 140
HSL
287°, 37%, 40%
CMYK
12, 54, 0, 45

About this color

Affair sits at 287° 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(123, 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 12C 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: #7B408C;
  --brand-primary-rgb: 123, 64, 140;
}

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

Tailwind Config

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

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

Print Design (CMYK)

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

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

RGB for Screens

rgb(123, 64, 140)
rgba(123, 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 287° on the color wheel

Frequently asked questions

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