WordGPT

#8822AA color

#8822AA is a purple colour. It is rgb(136, 34, 170) in RGB and hsl(285, 67%, 40%) in HSL. Text in white reads better on it: the contrast is 7.35:1 against white and 2.86:1 against black.

#8822AA
#8822AA: #8822AA
Complementary#8822AA#44AA22Analogous#4422AA#8822AA#AA2288Triadic#8822AA#AA8822#22AA88Tetradic (square)#8822AA#AA4422#44AA22#2288AASplit complementary#8822AA#88AA22#22AA44
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
17061c2d0b394411555b1771711c8e8822aa9c47b8b06cc6c491d5d7b5e3ebdaf1
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#8822AA}:\quad R=\mathrm{88}_{16}=136,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{AA}_{16}=170
  2. 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.

    H=285∘,S=67%,L=40%H=285^\circ,\quad S=67\%,\quad L=40\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    285^\circ + 180^\circ = 105^\circ ;\Rightarrow; \mathrm{#44AA22}
  4. 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).

    contrast=L1+0.05L2+0.05=7.35:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 7.35:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#8822AA} = \mathrm{rgb}(136, 34, 170) \]
\[ \mathrm{#8822AA}:\quad R=\mathrm{88}_{16}=136,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{AA}_{16}=170 \]
\[ H=285^\circ,\quad S=67\%,\quad L=40\% \]
\[ 285^\circ + 180^\circ = 105^\circ ;\Rightarrow; \mathrm{#44AA22} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 7.35:1\ \text{(on white)} \]

#8822AA in every colour format

FormatValue
HEX#8822AA
RGBrgb(136, 34, 170)
RGB (percent)rgb(53.3%, 13.3%, 66.7%)
HSLhsl(285, 67%, 40%)
HSV / HSBhsv(285, 80%, 67%)
CMYKcmyk(20%, 80%, 0%, 33%)
Decimal8921770
Descriptionpurple

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text7.35:1passpasspasspass
Black text2.86:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#17061C #2D0B39 #441155 #5B1771 #711C8E
This colour#8822AA
Tints (mixed with white)#9C47B8 #B06CC6 #C491D5 #D7B5E3 #EBDAF1

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#0050AE44
Deuteranopia#1D59A750
Tritanopia#85426751
Grayscale#565656-

Nearest named colours

NameHex
Dark orchid#9932CC
Dark magenta#8B008B
Purple#800080
Medium orchid#BA55D3

Questions

What is the RGB value of #8822AA?

rgb(136, 34, 170): red 136, green 34, blue 170.

What is the HSL value of #8822AA?

hsl(285, 67%, 40%): a hue of 285°, 67% saturation and 40% lightness.

What is the complementary colour of #8822AA?

#44AA22, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #77DD55.

Should I use white or black text on #8822AA?

White. White gives 7.35:1 and black 2.86:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #8822AA?

cmyk(20%, 80%, 0%, 33%). This is a simple formula conversion; printed colours depend on the printer profile.

What is the closest named colour to #8822AA?

Dark orchid (#9932CC).

Matching colours

A little darker, a little lighter

Make a palette

    #8822AA color: RGB, HSL, CMYK, shades and matching palettes | WordGPT