Rebecca Purple color (#663399)
Rebecca Purple is one of the 148 CSS named colors. Use the keyword rebeccapurple
anywhere CSS accepts a color, or its hex code #663399, which is rgb(102, 51, 153) in RGB.
It is a dark, vivid cool color with a hue angle of 270° on the HSL color wheel and a perceived lightness of 44% in OKLCH. On a rebecca purple background, white text gives the higher contrast at 8.40:1, which passes WCAG AA for normal text.
Rebecca Purple color codes
| CSS name | rebeccapurple |
|
|---|---|---|
| HEX | #663399 |
|
| HEX (8-digit) | #663399FF |
|
| RGB | rgb(102, 51, 153) |
|
| HSL | hsl(270, 50%, 40%) |
|
| HSV / HSB | hsv(270, 67%, 60%) |
|
| OKLCH | oklch(44% 0.1603 303.4) |
|
| CMYK | cmyk(33.3%, 66.7%, 0%, 40%) |
Contrast with white and black
WCAG 2 contrast ratios and APCA lightness contrast (Lc) for rebecca purple used as text and as a background.
Tints and shades of rebecca purple
Tints mix rebecca purple with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.
Tints
Shades
Colors that go with rebecca purple
Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.
Complementary
Analogous
Triadic
Split-Complementary
Rebecca Purple with color blindness
Approximately how rebecca purple appears with each type of color vision deficiency. Test full designs with the color blindness simulator.
Using rebecca purple in CSS
.element {
color: rebeccapurple;
background-color: #663399;
border-color: rgb(102 51 153 / 50%);
outline-color: oklch(44% 0.1603 303.4);
}Similar named colors
See all shades of purple or browse every CSS color name.