Color Picker: Building an accessible palette
Start with the task you actually need to finish
- Picking a brand's primary colour and generating complementary accents for a website design.
- Converting a colour from a client's brand guide between HEX and RGB for different software.
- Building a simple light-to-dark tint scale for button states like hover and active.
Follow the workflow and review the result
- Use the colour wheel or gradient picker to select a base colour visually.
- Or type a specific HEX, RGB or HSL value directly into the corresponding input field.
- View the automatically generated tints, shades and complementary colour suggestions.
- Click any value to copy it in HEX, RGB or HSL format for use in your project.
- Build out a small palette by picking several colours and keeping track of their codes.
Building an accessible palette
Keep body text at a contrast ratio of at least 4.5:1 against its background, and 3:1 for large text and interface icons, to meet the WCAG AA accessibility standard. Checking contrast early in the palette-building process avoids having to redesign colour choices later for accessibility compliance.
Understanding complementary schemes
A complementary colour scheme pairs two hues from opposite sides of the colour wheel, such as blue and orange, producing strong visual contrast. This makes complementary pairs a common choice for call-to-action buttons that need to stand out clearly from the surrounding page.
HEX, RGB and HSL explained
HEX is a compact six-digit code used almost universally in CSS and design tools. RGB expresses the same colour as separate red, green and blue values from 0-255, useful when blending colours numerically. HSL describes hue, saturation and lightness separately, which makes it easier to create tints and shades by adjusting just the lightness value.