Skip to content

Rebecca purple

Rebecca purple is a medium, rich color from the purple family. Hex code #663399.

Rebecca purple#663399

Color codes

  • CSS namerebeccapurple
  • HEX#663399
  • RGBrgb(102 51 153)
  • HSLhsl(270 50% 40%)
  • HSB / HSVhsb(270, 67%, 60%)
  • OKLCHoklch(44% 0.16 303.4)
  • CMYKcmyk(33%, 67%, 0%, 40%)

White text

8.40:1 · passes WCAG AAA

Black text

2.49:1 · fails WCAG

Shades

50#F5EFFE
100#DFC9FF
200#C9A3FC
300#B280ED
400#9665CF
500#7C4AB2
600#622F95
700#4A1079
800#300153

Complementary

#663399
#475B06

Analogous

#663399
#3A44A9
#832477

Triadic

#663399
#76450B
#056057

About this color

Rebecca purple in CSS and design

Rebecca purple is a medium, rich color from the purple family. Rebecca purple was added to CSS in 2014, in memory of Rebecca Meyer, the daughter of CSS pioneer Eric Meyer, who died on her sixth birthday. It is the most recent addition to the named colors.

Use it in CSS by name or by any of its codes; these all give the same color:

color: rebeccapurple;
color: #663399;
color: rgb(102 51 153);
color: hsl(270 50% 40%);

For text on rebecca purple, white reads best. Check other combinations with the contrast checker, or browse all CSS color names.

Frequently asked questions

What is the hex code for rebecca purple?

#663399. In CSS you can also use the keyword rebeccapurple, which works in every browser.

What is rebecca purple in RGB and HSL?

In RGB it is rgb(102 51 153), in HSL hsl(270 50% 40%). For print, cmyk(33%, 67%, 0%, 40%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

Should I use black or white text on rebecca purple?

White text works better: it has a contrast ratio of 8.40:1 and passes WCAG AAA. Black text reaches 2.49:1.

Which colors go with rebecca purple?

Its complementary color is #475B06, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #3A44A9 and #832477. The palette generator builds more combinations.