#AA77BB color
#AA77BB is a muted purple colour. It is rgb(170, 119, 187) in RGB and hsl(285, 33%, 60%) in HSL. Text in black reads better on it: the contrast is 6.07:1 against black and 3.46:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#AA77BB}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{77}_{16}=119,\ B=\mathrm{BB}_{16}=187 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
285^\circ + 180^\circ = 105^\circ ;\Rightarrow; \mathrm{#88BB77} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#AA77BB} = \mathrm{rgb}(170, 119, 187) \]
\[ \mathrm{#AA77BB}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{77}_{16}=119,\ B=\mathrm{BB}_{16}=187 \]
\[ H=285^\circ,\quad S=33\%,\quad L=60\% \]
\[ 285^\circ + 180^\circ = 105^\circ ;\Rightarrow; \mathrm{#88BB77} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 3.46:1\ \text{(on white)} \]#AA77BB in every colour format
| Format | Value |
|---|---|
| HEX | #AA77BB |
| RGB | rgb(170, 119, 187) |
| RGB (percent) | rgb(66.7%, 46.7%, 73.3%) |
| HSL | hsl(285, 33%, 60%) |
| HSV / HSB | hsv(285, 36%, 73%) |
| CMYK | cmyk(9%, 36%, 0%, 27%) |
| Decimal | 11171771 |
| Description | muted purple |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 3.46:1 | fail | pass | fail | fail |
| Black text | 6.07:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1C141F #39283E #553C5E #714F7D #8E639C |
| This colour | #AA77BB |
| Tints (mixed with white) | #B88EC6 #C6A4D2 #D5BBDD #E3D2E8 #F1E8F4 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #6D87BE | 27 |
| Deuteranopia | #7A8BB9 | 27 |
| Tritanopia | #AA7F90 | 28 |
| Grayscale | #8A8A8A | - |
Nearest named colours
| Name | Hex |
|---|---|
| Plum | #DDA0DD |
| Medium purple | #9370DB |
| Orchid | #DA70D6 |
| Violet | #EE82EE |
Questions
What is the RGB value of #AA77BB?
rgb(170, 119, 187): red 170, green 119, blue 187.
What is the HSL value of #AA77BB?
hsl(285, 33%, 60%): a hue of 285°, 33% saturation and 60% lightness.
What is the complementary colour of #AA77BB?
#88BB77, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #558844.
Should I use white or black text on #AA77BB?
Black. White gives 3.46:1 and black 6.07:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #AA77BB?
cmyk(9%, 36%, 0%, 27%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #AA77BB?
Plum (#DDA0DD).