Description
Rebeccapurple (read as "rebecca purple") has a hue of 270°, saturation 50% and lightness 40%, which places it in the purple family. Its strongest channel is blue (153).
Using rebeccapurple in CSS
.title { color: rebeccapurple; }
.box { background: rebeccapurple; border-color: #663399; }
.soft { background: rgb(102 51 153 / 20%); } /* rebeccapurple at 20% opacity */Named colors are case-insensitive and supported by every browser. rebeccapurple was added in CSS Color Level 4 in memory of Rebecca Meyer.
Similar named colors
| Color | HEX | RGB | ΔE 2000 |
|---|---|---|---|
| darkslateblue | #483d8b | 72, 61, 139 | 7.3 |
| darkmagenta | #8b008b | 139, 0, 139 | 9.5 |
| purple | #800080 | 128, 0, 128 | 9.6 |
| indigo | #4b0082 | 75, 0, 130 | 9.6 |
| darkviolet | #9400d3 | 148, 0, 211 | 10.4 |
| darkorchid | #9932cc | 153, 50, 204 | 11 |
| blueviolet | #8a2be2 | 138, 43, 226 | 11.3 |
| mediumblue | #0000cd | 0, 0, 205 | 13.2 |
ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.
Pairs well with
Readability
Contrast with white text: 8.41:1; with black text: 2.50:1. White body text on rebeccapurple meets WCAG AA.