WordGPT

#9922DD color

#9922DD is a purple colour. It is rgb(153, 34, 221) in RGB and hsl(278, 73%, 50%) in HSL. Text in white reads better on it: the contrast is 5.79:1 against white and 3.63:1 against black.

#9922DD
#9922DD: #9922DD
Complementary#9922DD#66DD22Analogous#3C22DD#9922DD#DD22C3Triadic#9922DD#DD9922#22DD99Tetradic (square)#9922DD#DD3C22#66DD22#22C3DDSplit complementary#9922DD#C3DD22#22DD3C
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
190625330b4a4d116f661793801cb89922ddaa47e3bb6ce8cc91eeddb5f4eedaf9
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{#9922DD}:\quad R=\mathrm{99}_{16}=153,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{DD}_{16}=221
  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=278∘,S=73%,L=50%H=278^\circ,\quad S=73\%,\quad L=50\%
  3. 3

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

    278^\circ + 180^\circ = 98^\circ ;\Rightarrow; \mathrm{#66DD22}
  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=5.79:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.79:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#9922DD} = \mathrm{rgb}(153, 34, 221) \]
\[ \mathrm{#9922DD}:\quad R=\mathrm{99}_{16}=153,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{DD}_{16}=221 \]
\[ H=278^\circ,\quad S=73\%,\quad L=50\% \]
\[ 278^\circ + 180^\circ = 98^\circ ;\Rightarrow; \mathrm{#66DD22} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.79:1\ \text{(on white)} \]

#9922DD in every colour format

FormatValue
HEX#9922DD
RGBrgb(153, 34, 221)
RGB (percent)rgb(60.0%, 13.3%, 86.7%)
HSLhsl(278, 73%, 50%)
HSV / HSBhsv(278, 85%, 87%)
CMYKcmyk(31%, 85%, 0%, 13%)
Decimal10035933
Descriptionpurple

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text5.79:1passpassfailpass
Black text3.63:1failpassfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#190625 #330B4A #4D116F #661793 #801CB8
This colour#9922DD
Tints (mixed with white)#AA47E3 #BB6CE8 #CC91EE #DDB5F4 #EEDAF9

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#0061E247
Deuteranopia#0067D953
Tritanopia#8E588470
Grayscale#656565-

Nearest named colours

NameHex
Dark violet#9400D3
Blue violet#8A2BE2
Dark orchid#9932CC
Medium blue#0000CD

Questions

What is the RGB value of #9922DD?

rgb(153, 34, 221): red 153, green 34, blue 221.

What is the HSL value of #9922DD?

hsl(278, 73%, 50%): a hue of 278°, 73% saturation and 50% lightness.

What is the complementary colour of #9922DD?

#66DD22, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #66DD22.

Should I use white or black text on #9922DD?

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

What is the CMYK value of #9922DD?

cmyk(31%, 85%, 0%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.

What is the closest named colour to #9922DD?

Dark violet (#9400D3).

Matching colours

A little darker, a little lighter

Make a palette

    #9922DD color: RGB, HSL, CMYK, shades and matching palettes | WordGPT