WordGPT

#CCAAFF color

#CCAAFF is a light purple colour. It is rgb(204, 170, 255) in RGB and hsl(264, 100%, 83%) in HSL. Text in black reads better on it: the contrast is 10.76:1 against black and 1.95:1 against white.

#CCAAFF
#CCAAFF: #CCAAFF
Complementary#CCAAFF#DDFFAAAnalogous#AAB2FF#CCAAFF#F7AAFFTriadic#CCAAFF#FFCCAA#AAFFCCTetradic (square)#CCAAFF#FFAAB2#DDFFAA#AAFFF6Split complementary#CCAAFF#FFF6AA#B2FFAA
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
221c2a4439556655808871aaaa8ed5ccaaffd5b8ffddc6ffe6d5ffeee3fff7f1ff
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{#CCAAFF}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{FF}_{16}=255
  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=264∘,S=100%,L=83%H=264^\circ,\quad S=100\%,\quad L=83\%
  3. 3

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

    264^\circ + 180^\circ = 84^\circ ;\Rightarrow; \mathrm{#DDFFAA}
  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=1.95:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.95:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#CCAAFF} = \mathrm{rgb}(204, 170, 255) \]
\[ \mathrm{#CCAAFF}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{FF}_{16}=255 \]
\[ H=264^\circ,\quad S=100\%,\quad L=83\% \]
\[ 264^\circ + 180^\circ = 84^\circ ;\Rightarrow; \mathrm{#DDFFAA} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.95:1\ \text{(on white)} \]

#CCAAFF in every colour format

FormatValue
HEX#CCAAFF
RGBrgb(204, 170, 255)
RGB (percent)rgb(80.0%, 66.7%, 100.0%)
HSLhsl(264, 100%, 83%)
HSV / HSBhsv(264, 33%, 100%)
CMYKcmyk(20%, 33%, 0%, 0%)
Decimal13413119
Descriptionlight purple

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text1.95:1failfailfailfail
Black text10.76:1passpasspasspass

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#221C2A #443955 #665580 #8871AA #AA8ED5
This colour#CCAAFF
Tints (mixed with white)#D5B8FF #DDC6FF #E6D5FF #EEE3FF #F7F1FF

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#97B9FF23
Deuteranopia#9EB9FD22
Tritanopia#C3B7C937
Grayscale#B9B9B9-

Nearest named colours

NameHex
Plum#DDA0DD
Medium purple#9370DB
Cornflower blue#6495ED
Violet#EE82EE

Questions

What is the RGB value of #CCAAFF?

rgb(204, 170, 255): red 204, green 170, blue 255.

What is the HSL value of #CCAAFF?

hsl(264, 100%, 83%): a hue of 264°, 100% saturation and 83% lightness.

What is the complementary colour of #CCAAFF?

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

Should I use white or black text on #CCAAFF?

Black. White gives 1.95:1 and black 10.76:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #CCAAFF?

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

What is the closest named colour to #CCAAFF?

Plum (#DDA0DD).

Matching colours

A little darker, a little lighter

Make a palette

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