Gradient Page

#A17FE0

#A17FE0 is the HEX color code for
Medium Purple
Contrast
Light
Luminance
58%
Color Conversions
Formats for Medium Purple (#A17FE0) 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 #A17FE0 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: #A17FE0;
  --color-primary-rgb: 161 127 224;
  --color-primary-hsl: 261 61% 69%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #000000;

  /* Shades */
  --color-primary-50:  #f0eafa;
  --color-primary-100: #d2c1f0;
  --color-primary-200: #b498e6;
  --color-primary-300: #956fdc;
  --color-primary-400: #7746d2;
  --color-primary-500: #5e2db9;
  --color-primary-600: #492390;
  --color-primary-700: #341967;
  --color-primary-800: #1f0f3e;
  --color-primary-900: #0a0515;
}

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