Rebecca Purple Hex Code #663399
Rebecca Purple is a dark, moderate purple with the hex code #663399. In RGB it is 102, 51, 153, and in HSL it is 270°, 50%, 40%. It is one of the 148 named colors in CSS, so you can write “rebeccapurple” instead of the hex code.
- HEX
- #663399
- RGB
- rgb(102, 51, 153)
- HSL
- hsl(270, 50%, 40%)
- HSV
- hsv(270°, 67%, 60%)
- CMYK
- cmyk(33%, 67%, 0%, 40%)
- CSS name
- rebeccapurple
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Rebecca Purple
On a white background Rebecca Purple has a contrast ratio of 8.41:1 (AAA), and on black 2.50:1 (Fail). White text is the better choice on top of it.
It sits on the cool side of the color wheel, a range that tends to feel calm and appears to recede.
Purple combines the calm of blue with the energy of red. It reads as creative and premium, and is often used by design, media and beauty brands.
Good to know: Rebeccapurple was added to CSS in 2014 in memory of Rebecca Meyer, the daughter of web standards author Eric Meyer, who died that year aged six.
Shades and tints of Rebecca Purple
Tints mix Rebecca Purple with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Rebecca Purple
These schemes are calculated from Rebecca Purple on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Rebecca Purple is #999433, close to the named color Olive.
Rebecca Purple contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Rebecca Purple scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 8.41:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
| Black (#000000) | 2.50:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
Rebecca Purple and color blindness
These are approximate previews of how Rebecca Purple can look with the main types of color vision deficiency.
Rebecca Purple changes noticeably.
Rebecca Purple changes noticeably.
Rebecca Purple changes noticeably.
Rebecca Purple changes noticeably.
Gradients with Rebecca Purple
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Rebecca Purple to a lighter tint
background: linear-gradient(135deg, #663399 0%, #c2add6 100%); Rebecca Purple to its analogous neighbour
background: linear-gradient(135deg, #663399 0%, #993399 100%); Rebecca Purple to its complement
background: linear-gradient(135deg, #663399 0%, #669933 100%); Colors similar to Rebecca Purple
How each close match differs from Rebecca Purple.
- Indigo #4B0082 Darker, more saturated.
- Dark Slate Blue #483D8B More muted, leans more blue.
- Slate Blue #6A5ACD Lighter, leans more blue.
- Purple #800080 Slightly darker, more saturated, leans more magenta.
- Midnight Blue #191970 Darker, leans more blue.
- Dark Magenta #8B008B More saturated, leans more magenta.
Use Rebecca Purple in code
.element {
color: #663399;
background-color: #663399;
border-color: rebeccapurple; /* rebeccapurple is a valid CSS color name */
} :root {
--color-rebecca-purple: #663399;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#663399] text-[#663399] border-[#663399]"></div>
/* Tailwind v4 theme color */
@theme {
--color-rebecca-purple: #663399;
} Rebecca Purple questions
What is the hex code for Rebecca Purple?
The hex code for Rebecca Purple is #663399. In RGB that is rgb(102, 51, 153), and in HSL it is hsl(270, 50%, 40%).
What is the complementary color of Rebecca Purple?
On the RGB (screen) color wheel, the complement of Rebecca Purple is #669933, which is close to Olive Drab. On the artist’s RYB wheel it is #999433, close to Olive.
Should I use white or black text on Rebecca Purple?
White text. It has a contrast ratio of 8.41:1 against Rebecca Purple, which is WCAG AAA. The other option scores 2.50:1.
Is Rebecca Purple accessible as a text color on white?
Yes. Rebecca Purple on white scores 8.41:1, which passes WCAG AA for normal text (4.5:1) and AAA (7:1).
What are darker and lighter shades of Rebecca Purple?
Mixing Rebecca Purple with black gives #52297A, #3D1F5C, #29143D, #140A1F (20% to 80% black). Mixing it with white gives #855CAD, #A385C2, #C2ADD6, #E0D6EB (20% to 80% white).