Gradient Page

#7F00FF

#7F00FF is the HEX color code for
Electric Violet
#7F00FF

Electric Violet

Contrast
Dark
Luminance
26%
Color Conversions
Formats for Electric Violet (#7F00FF) in various color spaces.
HEX
#7F00FF
RGB
127, 0, 255
HSL
270°, 100%, 50%
CMYK
50%, 100%, 0%, 0%
OKLCH
0.529, 0.293, 293.6
CSS Variable
--color-electric-violet: #7F00FF;

Shades & Tints

#f2e5ff
#d9b3ff
#bf80ff
#a64dff
#8c1aff
#7300e6
#5900b3
#400080
#26004d
#0d001a
DarkestBaseLightest

Color Harmonies

Complementary

#7F00FF
#80ff00

Analogous

#0000ff
#7F00FF
#ff00ff

Triadic

#7F00FF
#ff8000
#00ff80

Split Complementary

#7F00FF
#ffff00
#00ff00

UI Component Examples

See how #7F00FF 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 {
  /* Electric Violet Base */
  --color-primary: #7F00FF;
  --color-primary-rgb: 127 0 255;
  --color-primary-hsl: 270 100% 50%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f2e5ff;
  --color-primary-100: #d9b3ff;
  --color-primary-200: #bf80ff;
  --color-primary-300: #a64dff;
  --color-primary-400: #8c1aff;
  --color-primary-500: #7300e6;
  --color-primary-600: #5900b3;
  --color-primary-700: #400080;
  --color-primary-800: #26004d;
  --color-primary-900: #0d001a;
}

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