Gradient Page

#904E95

#904E95 is the HEX color code for
Affair
#904E95

Affair

Contrast
Dark
Luminance
42%
Color Conversions
Formats for Affair (#904E95) in various color spaces.
#904E95
144, 78, 149
296°, 31%, 45%
3%, 48%, 0%, 42%
0.53, 0.13, 324.6
--color-affair: #904E95;

Shades & Tints

#f6eef6
#e3cde5
#d0abd3
#be8ac1
#ab69b0
#924f96
#713e75
#512c54
#311a32
#100911
DarkestBaseLightest

Color Harmonies

Complementary

#904E95
#54964f

Analogous

#6e4f96
#904E95
#964f77

Triadic

#904E95
#96924f
#4f9692

Split Complementary

#904E95
#77964f
#4f966e

UI Component Examples

See how #904E95 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: #904E95;
  --color-primary-rgb: 144 78 149;
  --color-primary-hsl: 296 31% 45%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f6eef6;
  --color-primary-100: #e3cde5;
  --color-primary-200: #d0abd3;
  --color-primary-300: #be8ac1;
  --color-primary-400: #ab69b0;
  --color-primary-500: #924f96;
  --color-primary-600: #713e75;
  --color-primary-700: #512c54;
  --color-primary-800: #311a32;
  --color-primary-900: #100911;
}

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
#904E95 Hex Color | Affair sl | UI Color Scheme Generator