Royal Purple Color Palette

Royal Purple Color Palette built around #7851A9, a dark cool purple anchor (WCAG contrast 3.55:1 against black). The set combines a light tint + a deep shade + a softened complement + a neutral ground so any palette position has a text-safe pairing.

purplerichregalcool
#7851A9
#D2BBE8
#422863
#809565
#8661B2
#7851a9 #d2bbe8 #422863 #809565 #8661b2
#7851A9 #D2BBE8 #422863 #809565 #8661B2

Semantic roles

Assigned deterministically: lightest = background, darkest = text, most saturated = primary.

background#D2BBE8
surface#809565
text#422863
text-muted#7851A9
primary#7851A9
secondary#809565
accent#8661B2

CSS variables

:root {
  --background: #d2bbe8;
  --surface: #809565;
  --text: #422863;
  --text-muted: #7851a9;
  --primary: #7851a9;
  --secondary: #809565;
  --accent: #8661b2;
}
Preview in UIs →

Accessibility matrix

Text color (rows) on background (columns). Green = WCAG AA pass for normal text (≥4.5:1).

Text \ BG#7851A9#D2BBE8#422863#809565#8661B2
#7851A9
1.0
3.4
2.1
1.8
1.2
#D2BBE8
3.4
1.0
7.0
1.9
2.8
#422863
2.1
7.0
1.0
3.7
2.5
#809565
1.8
1.9
3.7
1.0
1.5
#8661B2
1.2
2.8
2.5
1.5
1.0

Under deuteranopia

Machado et al. (2009) simulation, severity 1.0 — approximation, not a medical tool.

Colors in this palette

Similar palettes

FAQ

How do I use the royal purple color palette in CSS?

Copy the CSS variables below into :root and use var(--primary), var(--background) etc. Full palette: #7851A9, #D2BBE8, #422863, #809565, #8661B2.

Do these colors pass accessibility checks?

See the WCAG matrix on this page: every text-on-background pairing with ratio ≥ 4.5 passes AA for normal text; ≥ 3 passes AA for large text and UI components.