Swatchproof

Rebecca purple #663399

Rebecca purple is one of the named colours in CSS, written rebeccapurple. White text reaches 8.41:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordrebeccapurple
HEX#663399
RGBrgb(102 51 153)
HSLhsl(270 50% 40%)
OKLCHoklch(44.0% 0.160 303.4)
White text8.41:1 · body text AA Pass
Black text2.50:1 · body text AA Fail

Colours that go with Rebecca purple

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Violet (#4F4086), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Rebecca purple itself.

ColourHEXContrast with Rebecca purpleBody text AA
Ivory Buff#EBD3A25.75:1Pass
Cream Yellow#FDBF685.13:1Pass
Cobalt Green#96D1AA4.80:1Pass
Orange Yellow#FCB3154.64:1Pass
Yellow Ocher#E2B5404.37:1Fail
Vinaceous Cinnamon#EEA78C4.22:1Fail
Olive Ocher#D6B43E4.19:1Fail
Yellow Orange#F99D1B3.95:1Fail
Grayish Lavender - B#C0A9B33.83:1Fail
Raw Sienna#BB71252.20:1Fail
Dull Viridian Green#0094652.17:1Fail
Light Mauve#9A72AA2.15:1Fail
Dull Violet Black#1E0E3F2.10:1Fail
Red Orange#DD40271.94:1Fail
Sudan Brown#A367521.85:1Fail
Indian Lake#C53C691.69:1Fail
Cotinga Purple#5013451.64:1Fail
Red Violet#59256A1.32:1Fail
Carmine Red#A62C371.22:1Fail
Slate Color#34454C1.19:1Fail
Vandyke Red#82241F1.12:1Fail
Pale Burnt Lake#8026261.12:1Fail
Vistoris Lake#6D41451.00:1Fail

Palettes with Violet

Shades and tints of Rebecca purple

Nine lightness steps in OKLCH that keep the hue of Rebecca purple. Chroma is reduced only where sRGB cannot show it.

:root {
  --rebeccapurple-100: #F7F3FF;
  --rebeccapurple-200: #EBDEFF;
  --rebeccapurple-300: #DAC0FF;
  --rebeccapurple-400: #C597FF;
  --rebeccapurple-500: #A776E1;
  --rebeccapurple-600: #8654BD;
  --rebeccapurple-700: #69369C;
  --rebeccapurple-800: #4D157C;
  --rebeccapurple-900: #300053;
}

Text that keeps Rebecca purple on screen

Text #663399 on #F7F3FF reaches 7.69:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours