Gradient Page

#7873F5

#7873F5 is the HEX color code for
Cornflower Blue
#7873F5

Cornflower Blue

Contrast
Light
Luminance
51%
Color Conversions
Formats for Cornflower Blue (#7873F5) in various color spaces.
#7873F5
120, 115, 245
242°, 87%, 71%
51%, 53%, 0%, 4%
0.626, 0.189, 281.2
--color-cornflower-blue: #7873F5;

Shades & Tints

#e8e7fd
#bab7fa
#8b88f7
#5d58f3
#2f28f0
#160fd7
#110ca7
#0c0877
#070548
#020218
DarkestBaseLightest

Color Harmonies

Complementary

#7873F5
#f1f575

Analogous

#75b1f5
#7873F5
#b975f5

Triadic

#7873F5
#f57975
#75f579

Split Complementary

#7873F5
#f5b975
#b1f575

UI Component Examples

See how #7873F5 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 {
  /* Cornflower Blue Base */
  --color-primary: #7873F5;
  --color-primary-rgb: 120 115 245;
  --color-primary-hsl: 242 87% 71%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #000000;

  /* Shades */
  --color-primary-50:  #e8e7fd;
  --color-primary-100: #bab7fa;
  --color-primary-200: #8b88f7;
  --color-primary-300: #5d58f3;
  --color-primary-400: #2f28f0;
  --color-primary-500: #160fd7;
  --color-primary-600: #110ca7;
  --color-primary-700: #0c0877;
  --color-primary-800: #070548;
  --color-primary-900: #020218;
}

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
#7873F5 Hex Color | Cornflower Blue sl | UI Color Scheme Generator