#AA55EE color
#AA55EE is a purple colour. It is rgb(170, 85, 238) in RGB and hsl(273, 82%, 63%) in HSL. Text in black reads better on it: the contrast is 5.24:1 against black and 4.01: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{#AA55EE}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{55}_{16}=85,\ B=\mathrm{EE}_{16}=238 - 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.
273^\circ + 180^\circ = 93^\circ ;\Rightarrow; \mathrm{#99EE55} - 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{#AA55EE} = \mathrm{rgb}(170, 85, 238) \]
\[ \mathrm{#AA55EE}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{55}_{16}=85,\ B=\mathrm{EE}_{16}=238 \]
\[ H=273^\circ,\quad S=82\%,\quad L=63\% \]
\[ 273^\circ + 180^\circ = 93^\circ ;\Rightarrow; \mathrm{#99EE55} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.01:1\ \text{(on white)} \]#AA55EE in every colour format
| Format | Value |
|---|---|
| HEX | #AA55EE |
| RGB | rgb(170, 85, 238) |
| RGB (percent) | rgb(66.7%, 33.3%, 93.3%) |
| HSL | hsl(273, 82%, 63%) |
| HSV / HSB | hsv(273, 64%, 93%) |
| CMYK | cmyk(29%, 64%, 0%, 7%) |
| Decimal | 11163118 |
| Description | 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 | 4.01:1 | fail | pass | fail | fail |
| Black text | 5.24:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1C0E28 #391C4F #552B77 #71399F #8E47C6 |
| This colour | #AA55EE |
| Tints (mixed with white) | #B871F1 #C68EF4 #D5AAF7 #E3C6F9 #F1E3FC |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #007CF3 | 45 |
| Deuteranopia | #3180EB | 47 |
| Tritanopia | #9F759A | 63 |
| Grayscale | #7F7F7F | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark orchid | #9932CC |
| Medium orchid | #BA55D3 |
| Blue violet | #8A2BE2 |
| Medium slate blue | #7B68EE |
Questions
What is the RGB value of #AA55EE?
rgb(170, 85, 238): red 170, green 85, blue 238.
What is the HSL value of #AA55EE?
hsl(273, 82%, 63%): a hue of 273°, 82% saturation and 63% lightness.
What is the complementary colour of #AA55EE?
#99EE55, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #55AA11.
Should I use white or black text on #AA55EE?
Black. White gives 4.01:1 and black 5.24:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #AA55EE?
cmyk(29%, 64%, 0%, 7%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #AA55EE?
Dark orchid (#9932CC).