Rebecca Purple
Hex #663399, rgb(102 51 153). A purple CSS named color.
Open in palette generatorRebecca Purple color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Rebecca Purple
Rebecca Purple is a dark saturated purple with the hex code #663399. In RGB it is made of 102 red, 51 green and 153 blue; in HSL its hue is 270°, with 50% saturation and 40% lightness. Its perceptual lightness (OKLCH L) is 44.0%.
It is a CSS named color, so you can write "rebeccapurple" anywhere CSS accepts a color. Against white it has a contrast ratio of 8.41:1 and against black 2.50:1, so white text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Rebecca Purple mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Rebecca Purple 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Rebecca Purple
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Complementary
Split complementary
Contrast and readability
WCAG 2 contrast of Rebecca Purple with white and black. The readable text color on Rebecca Purple is white.
On white8.41:1
- AA pass
- AA Large pass
- AAA pass
- UI 3:1 pass
APCA Lc 88
On black2.50:1
- AA fail
- AA Large fail
- AAA fail
- UI 3:1 fail
APCA Lc -14
Test any pair in the contrast checker.
Color blindness preview
How Rebecca Purple appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#004C9C
- Deuteranopia#0F4D97
- Tritanopia#5C4961
- Protanomaly#2E479B
- Deuteranomaly#334898
- Tritanomaly#643D83
- Achromatopsia#4D4D4D
Colors similar to Rebecca Purple
The closest named colors by perceptual difference (OKLab).
Use Rebecca Purple in CSS and Tailwind
.rebecca-purple {
color: rebeccapurple; /* #663399 */
background-color: rgb(102 51 153);
border-color: oklch(44% 0.16 303.4);
}/* Tailwind CSS v4: bg-rebecca-purple-500, text-rebecca-purple-700... */
@theme {
--color-rebecca-purple-50: #FBF9FF;
--color-rebecca-purple-100: #F2EAFF;
--color-rebecca-purple-200: #E5D3FF;
--color-rebecca-purple-300: #D2B1FF;
--color-rebecca-purple-400: #BA7FFF;
--color-rebecca-purple-500: #AB5BFB;
--color-rebecca-purple-600: #9749E2;
--color-rebecca-purple-700: #7D3BBC;
--color-rebecca-purple-800: #663399;
--color-rebecca-purple-900: #51297A;
--color-rebecca-purple-950: #1F0437;
}
<!-- or the exact color, no config -->
<div class="bg-[#663399] text-[#FFFFFF]">…</div>