Gradient Page

#CB8FA9

#CB8FA9 is the HEX color code for
Viola
Contrast
Light
Luminance
64%
Color Conversions
Formats for Viola (#CB8FA9) 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 #CB8FA9 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 {
  /* Viola Base */
  --color-primary: #CB8FA9;
  --color-primary-rgb: 203 143 169;
  --color-primary-hsl: 334 37% 68%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #000000;

  /* Shades */
  --color-primary-50:  #f7eef2;
  --color-primary-100: #e7cbd7;
  --color-primary-200: #d7a8bc;
  --color-primary-300: #c785a1;
  --color-primary-400: #b76287;
  --color-primary-500: #9d486d;
  --color-primary-600: #7a3855;
  --color-primary-700: #57283d;
  --color-primary-800: #341824;
  --color-primary-900: #11080c;
}

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