WordGPT

#9900CC color

#9900CC is a vivid purple colour. It is rgb(153, 0, 204) in RGB and hsl(285, 100%, 40%) in HSL. Text in white reads better on it: the contrast is 6.51:1 against white and 3.23:1 against black.

#9900CC
#9900CC: #9900CC
Complementary#9900CC#33CC00Analogous#3300CC#9900CC#CC0099Triadic#9900CC#CC9900#00CC99Tetradic (square)#9900CC#CC3300#33CC00#0099CCSplit complementary#9900CC#99CC00#00CC33
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
1900223300444d00666600888000aa9900ccaa2bd5bb55ddcc80e6ddaaeeeed5f7
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{#9900CC}:\quad R=\mathrm{99}_{16}=153,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{CC}_{16}=204
  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=100%,L=40%H=285^\circ,\quad S=100\%,\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{#33CC00}
  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=6.51:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.51:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#9900CC} = \mathrm{rgb}(153, 0, 204) \]
\[ \mathrm{#9900CC}:\quad R=\mathrm{99}_{16}=153,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{CC}_{16}=204 \]
\[ H=285^\circ,\quad S=100\%,\quad L=40\% \]
\[ 285^\circ + 180^\circ = 105^\circ ;\Rightarrow; \mathrm{#33CC00} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.51:1\ \text{(on white)} \]

#9900CC in every colour format

FormatValue
HEX#9900CC
RGBrgb(153, 0, 204)
RGB (percent)rgb(60.0%, 0.0%, 80.0%)
HSLhsl(285, 100%, 40%)
HSV / HSBhsv(285, 100%, 80%)
CMYKcmyk(25%, 100%, 0%, 20%)
Decimal10027212
Descriptionvivid purple

Text contrast (WCAG)

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

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#190022 #330044 #4D0066 #660088 #8000AA
This colour#9900CC
Tints (mixed with white)#AA2BD5 #BB55DD #CC80E6 #DDAAEE #EED5F7

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#0057D049
Deuteranopia#0060C958
Tritanopia#93487765
Grayscale#5E5E5E-

Nearest named colours

NameHex
Dark violet#9400D3
Blue violet#8A2BE2
Dark orchid#9932CC
Medium orchid#BA55D3

Questions

What is the RGB value of #9900CC?

rgb(153, 0, 204): red 153, green 0, blue 204.

What is the HSL value of #9900CC?

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

What is the complementary colour of #9900CC?

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

Should I use white or black text on #9900CC?

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

What is the CMYK value of #9900CC?

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

What is the closest named colour to #9900CC?

Dark violet (#9400D3).

Matching colours

A little darker, a little lighter

Make a palette

    #9900CC color: RGB, HSL, CMYK, shades and matching palettes | WordGPT