Colors

ERIA's design system features two key brand colors: Purple and Teal. Purple serves as an accent for patient-facing applications and clinical tools, while Teal is commonly used for developer resources and internal documentation.

Consistent and thoughtful color usage is essential to maintain a clear, intuitive, and cohesive visual experience. In healthcare, where clarity is paramount, colors are used strategically on actionable interface elements such as buttons, alerts, and important information sections. Neutral colors (shades of white and grey) help divide content and emphasize specific areas without overwhelming the user.

Design Tokens

The base color palette consists of predefined system colors, but designers should avoid directly copying HEX values. Instead, use color tokens to ensure consistent application across the interface. Colors are referred to as color-value, For example primary-500, ensuring that all color choices adhere to accessibility standards, including contrast ratios essential for healthcare environments.

Primary Colors

50
#f9fafb
100
#edeffb
200
#e0d6fc
300
#c2b0f3
400
#ab82e4
500
#955ddb
600
#7940c9
700
#592ea5
800
#3e2177
900
#221446
950
#140b2d

Secondary Colors

50
#edf5f3
100
#c9eef1
200
#8ae2f0
300
#42c5dd
400
#00a4bd
500
#03889e
600
#086d82
700
#075466
800
#053b49
900
#03212b
950
#01141b

Gray Colors

50
#f8faf9
100
#edf1f6
200
#d8ddeb
300
#b2bad2
400
#8792b1
500
#6b6f93
600
#565475
700
#423f58
800
#2d2a3d
900
#1b1a26
950
#0e0d15

Usage Guidelines

The colors should always comply with the WCAG 2.2 AA standard. The contrast ratio should be at least 4.5:1 for normal text and 3:1 for large text. Though AAA compatability is preferred if possible.

Themes

Themes are colour collections that define the colours for light and dark modes.

Light Mode

primary
#7940c9
primary-content
#ffffff
secondary
#03889e
secondary-content
#ffffff
base-100
#ffffff
base-200
#edf1f6
base-300
#d8ddeb
base-content
#1b1a26

Dark Mode

primary
#ab82e4
primary-content
#140b2d
secondary
#42c5dd
secondary-content
#01141b
base-100
#0e0d15
base-200
#1b1a26
base-300
#2d2a3d
base-content
#edf1f6