Lambda UI
v1.3.4
Stable

Colors

Our comprehensive color system designed for flexibility and accessibility, powered by modern CSS color spaces.

Overview

Lambda UI uses the OKLCH color space for defining its color system. This ensures perceptually uniform colors and consistent contrast ratios across different palettes. The system is divided into two layers: Primitive Colors (the raw palette) andSemantic Colors (roles for UI elements).

All colors are accessible as CSS variables. The raw values are available, but we recommend using Semantic Colors for building UI components to ensure theming support.


Primitive Colors

The foundation of our color system. Each family consists of 11 steps ranging from 050 (lightest) to 950 (darkest).

Neutral

50
100
200
300
400
500
600
700
800
900
950

Warm

50
100
200
300
400
500
600
700
800
900
950

Red

50
100
200
300
400
500
600
700
800
900
950

Brown

50
100
200
300
400
500
600
700
800
900
950

Orange

50
100
200
300
400
500
600
700
800
900
950

Yellow

50
100
200
300
400
500
600
700
800
900
950

Amber

50
100
200
300
400
500
600
700
800
900
950

Lime

50
100
200
300
400
500
600
700
800
900
950

Green

50
100
200
300
400
500
600
700
800
900
950

Emerald

50
100
200
300
400
500
600
700
800
900
950

Teal

50
100
200
300
400
500
600
700
800
900
950

Cyan

50
100
200
300
400
500
600
700
800
900
950

Sky

50
100
200
300
400
500
600
700
800
900
950

Blue

50
100
200
300
400
500
600
700
800
900
950

Indigo

50
100
200
300
400
500
600
700
800
900
950

Violet

50
100
200
300
400
500
600
700
800
900
950

Purple

50
100
200
300
400
500
600
700
800
900
950

Fuchsia

50
100
200
300
400
500
600
700
800
900
950

Pink

50
100
200
300
400
500
600
700
800
900
950

Rose

50
100
200
300
400
500
600
700
800
900
950

Slate

50
100
200
300
400
500
600
700
800
900
950

Gray

50
100
200
300
400
500
600
700
800
900
950

Zinc

50
100
200
300
400
500
600
700
800
900
950

Semantic Colors

Semantic colors map primitive colors to specific UI contexts (e.g., "primary action", "error message"). These automatically adapt when switching themes (Light/Dark/Retro).

Primary

base--primary-base-color
hover--primary-hover-color
disabled--primary-disabled-color
text--primary-text-color
content--primary-content-color
soft--primary-soft-color
subtle--primary-subtle-color
border--primary-border-color
outline--primary-outline-color

Secondary

base--secondary-base-color
hover--secondary-hover-color
disabled--secondary-disabled-color
text--secondary-text-color
content--secondary-content-color
soft--secondary-soft-color
subtle--secondary-subtle-color
border--secondary-border-color
outline--secondary-outline-color

Neutral

base--neutral-base-color
hover--neutral-hover-color
disabled--neutral-disabled-color
text--neutral-text-color
content--neutral-content-color
soft--neutral-soft-color
subtle--neutral-subtle-color
border--neutral-border-color
outline--neutral-outline-color

Success

base--success-base-color
hover--success-hover-color
disabled--success-disabled-color
text--success-text-color
content--success-content-color
soft--success-soft-color
subtle--success-subtle-color
border--success-border-color
outline--success-outline-color

Danger

base--danger-base-color
hover--danger-hover-color
disabled--danger-disabled-color
text--danger-text-color
content--danger-content-color
soft--danger-soft-color
subtle--danger-subtle-color
border--danger-border-color
outline--danger-outline-color

Warning

base--warning-base-color
hover--warning-hover-color
disabled--warning-disabled-color
text--warning-text-color
content--warning-content-color
soft--warning-soft-color
subtle--warning-subtle-color
border--warning-border-color
outline--warning-outline-color

Info

base--info-base-color
hover--info-hover-color
disabled--info-disabled-color
text--info-text-color
content--info-content-color
soft--info-soft-color
subtle--info-subtle-color
border--info-border-color
outline--info-outline-color

Usage

Use semantic variables in your CSS to inherit theme changes.

.my-button {
  background-color: var(--primary-base-color);
  color: var(--primary-content-color);
  border: 1px solid var(--primary-border-color);
}

.my-button:hover {
  background-color: var(--primary-hover-color);
}

.my-alert {
    background-color: var(--danger-soft-color);
    color: var(--danger-text-color);
}

The modern React component library.
© 2026 Lambda UI. Made with in Mexico by AletzMan.