Gradient Page

#8E54E9

#8E54E9 is the HEX color code for
Medium Purple
Contrast
Dark
Luminance
46%
Color Conversions
Formats for Medium Purple (#8E54E9) in various color spaces.
HEX
RGB
HSL
CMYK
OKLCH
CSS Variable

Shades & Tints

LightestBaseDarkest

Color Harmonies

Complementary

Analogous

Triadic

Split Complementary

UI Component Examples

See how #8E54E9 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 {
  /* Medium Purple Base */
  --color-primary: #8E54E9;
  --color-primary-rgb: 142 84 233;
  --color-primary-hsl: 263 77% 62%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f0e8fc;
  --color-primary-100: #d2bbf6;
  --color-primary-200: #b48ef0;
  --color-primary-300: #9661ea;
  --color-primary-400: #7834e5;
  --color-primary-500: #5e1acb;
  --color-primary-600: #49159e;
  --color-primary-700: #340f71;
  --color-primary-800: #1f0944;
  --color-primary-900: #0a0317;
}

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