Gradient Page

#7B4397

#7B4397 is the HEX color code for
Affair
#7B4397

Affair

Contrast
Dark
Luminance
37%
Color Conversions
Formats for Affair (#7B4397) in various color spaces.
#7B4397
123, 67, 151
280°, 39%, 43%
19%, 56%, 0%, 41%
0.488, 0.14, 313.1
--color-affair: #7B4397;

Shades & Tints

#f4edf7
#decae8
#c8a6d8
#b183c9
#9b5fb9
#8246a0
#65367c
#482759
#2b1735
#0e0812
DarkestBaseLightest

Color Harmonies

Complementary

#7B4397
#5f9843

Analogous

#514398
#7B4397
#98438a

Triadic

#7B4397
#987c43
#43987c

Split Complementary

#7B4397
#8a9843
#439851

UI Component Examples

See how #7B4397 looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* Affair Base */
  --color-primary: #7B4397;
  --color-primary-rgb: 123 67 151;
  --color-primary-hsl: 280 39% 43%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f4edf7;
  --color-primary-100: #decae8;
  --color-primary-200: #c8a6d8;
  --color-primary-300: #b183c9;
  --color-primary-400: #9b5fb9;
  --color-primary-500: #8246a0;
  --color-primary-600: #65367c;
  --color-primary-700: #482759;
  --color-primary-800: #2b1735;
  --color-primary-900: #0e0812;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names
#7B4397 Hex Color | Affair sl | UI Color Scheme Generator