Check it, try it, take it
Contrast against WCAG 2.2, a live interface preview, perceptual gradients and export.
Contrast matrix
Text colour (rows) on each background (columns). WCAG: AA needs 4.5:1 for body text and 3:1 for large text; AAA needs 7:1.
#DA9FFF
#24162E
#562972
#957AB0
#EAE4F3
#DA9FFF
same
AAAAa8.45
AAAa5.31
FAILAa1.83
FAILAa1.63
#24162E
AAAAa8.45
same
FAILAa1.59
AAAa4.63
AAAAa13.74
#562972
AAAa5.31
FAILAa1.59
same
FAILAa2.91
AAAAa8.64
#957AB0
FAILAa1.83
AAAa4.63
FAILAa2.91
same
FAILAa2.97
#EAE4F3
FAILAa1.63
AAAAa13.74
AAAAa8.64
FAILAa2.97
same
White
FAILAa2.02
AAAAa17.08
AAAAa10.74
AA18Aa3.69
FAILAa1.24
Ink
AAAAa8.76
FAILAa1.04
FAILAa1.65
AAAa4.80
AAAAa14.25
AAA 7+AA 4.5+AA18 3+ large text onlyFAIL under 3
Live preview
Roles are assigned automatically by lightness and chroma.
Wayfarer
Featured route
Three slow days along the coast
Ferries, cliff paths and a bakery that opens at six. A made-up itinerary for trying colours on.
4 stopsEasy walkingSpring
Distance42.6 km
Offline maps
InkSurfacePrimarySecondaryAccent
Gradient
Interpolated in OKLab, so the midpoints stay bright instead of turning grey.
sRGBOKLab
Export
:root {
--color-1: #da9fff; /* Plum */
--color-2: #24162e; /* Midnight Blue */
--color-3: #562972; /* Dark Slate Blue */
--color-4: #957ab0; /* Light Slate Gray */
--color-5: #eae4f3; /* Lavender */
--color-1-oklch: oklch(79.3% 0.145 311.6);
--color-2-oklch: oklch(23.1% 0.049 309.9);
--color-3-oklch: oklch(37.8% 0.125 310.2);
--color-4-oklch: oklch(62.5% 0.085 306.9);
--color-5-oklch: oklch(92.8% 0.021 304.0);
}
Chroma builds palettes in OKLCH, a perceptual colour space, and maps them back into sRGB. Colour names are the nearest of the 148 CSS named colours.