Gradient Page

#8E2DE2

#8E2DE2 is the HEX color code for
Purple Heart
#8E2DE2

Purple Heart

Contrast
Dark
Luminance
37%
Color Conversions
Formats for Purple Heart (#8E2DE2) in various color spaces.
#8E2DE2
142, 45, 226
272°, 76%, 53%
37%, 80%, 0%, 11%
0.54, 0.249, 302.7
--color-purple-heart: #8E2DE2;

Shades & Tints

#f3e9fc
#dbbcf6
#c28ff0
#aa62ea
#9235e3
#791cca
#5e159d
#430f70
#280943
#0d0316
DarkestBaseLightest

Color Harmonies

Complementary

#8E2DE2
#81e22c

Analogous

#322ce2
#8E2DE2
#e22cdc

Triadic

#8E2DE2
#e28d2c
#2ce28d

Split Complementary

#8E2DE2
#dce22c
#2ce232

UI Component Examples

See how #8E2DE2 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 {
  /* Purple Heart Base */
  --color-primary: #8E2DE2;
  --color-primary-rgb: 142 45 226;
  --color-primary-hsl: 272 76% 53%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f3e9fc;
  --color-primary-100: #dbbcf6;
  --color-primary-200: #c28ff0;
  --color-primary-300: #aa62ea;
  --color-primary-400: #9235e3;
  --color-primary-500: #791cca;
  --color-primary-600: #5e159d;
  --color-primary-700: #430f70;
  --color-primary-800: #280943;
  --color-primary-900: #0d0316;
}

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
#8E2DE2 Hex Color | Purple Heart sl | UI Color Scheme Generator