Gradient Page

#834D9B

#834D9B is the HEX color code for
Affair
#834D9B

Affair

Contrast
Dark
Luminance
40%
Color Conversions
Formats for Affair (#834D9B) in various color spaces.
#834D9B
131, 77, 155
282°, 34%, 45%
15%, 50%, 0%, 39%
0.515, 0.131, 314.6
--color-affair: #834D9B;

Shades & Tints

#f4eef7
#decce6
#c8aad5
#b287c4
#9c65b3
#824c9a
#653b78
#482a55
#2b1933
#0e0811
DarkestBaseLightest

Color Harmonies

Complementary

#834D9B
#639a4c

Analogous

#5b4c9a
#834D9B
#9a4c8a

Triadic

#834D9B
#9a824c
#4c9a82

Split Complementary

#834D9B
#8a9a4c
#4c9a5b

UI Component Examples

See how #834D9B 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: #834D9B;
  --color-primary-rgb: 131 77 155;
  --color-primary-hsl: 282 34% 45%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f4eef7;
  --color-primary-100: #decce6;
  --color-primary-200: #c8aad5;
  --color-primary-300: #b287c4;
  --color-primary-400: #9c65b3;
  --color-primary-500: #824c9a;
  --color-primary-600: #653b78;
  --color-primary-700: #482a55;
  --color-primary-800: #2b1933;
  --color-primary-900: #0e0811;
}

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