Gradient Page

#D57EEB

#D57EEB is the HEX color code for
Lavender
Contrast
Light
Luminance
64%
Color Conversions
Formats for Lavender (#D57EEB) 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 #D57EEB 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 {
  /* Lavender Base */
  --color-primary: #D57EEB;
  --color-primary-rgb: 213 126 235;
  --color-primary-hsl: 288 73% 71%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #000000;

  /* Shades */
  --color-primary-50:  #f8e9fc;
  --color-primary-100: #eabdf5;
  --color-primary-200: #db91ee;
  --color-primary-300: #cd65e7;
  --color-primary-400: #bf38e0;
  --color-primary-500: #a51fc7;
  --color-primary-600: #80189a;
  --color-primary-700: #5c116e;
  --color-primary-800: #370a42;
  --color-primary-900: #120316;
}

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