#AA66CC#AA66CC

#AA66CC is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.6% C 0.162 H 313.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AA66CC
RGBrgb(170, 102, 204)
HSLhsl(280, 50%, 60%)
HSVhsv(280, 50%, 80%)
CMYKcmyk(16.7%, 50%, 0%, 20%)
CIE-LABlab(54.46, 44.95, -42.25)
CIE-LCHlch(54.46, 61.69, 316.77°)
OKLaboklab(62.61% 0.1112 -0.1177)
OKLCHoklch(62.61% 0.162 313.4)
XYZxyz(32.2262, 22.4092, 59.7428)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66CC #88CC66
analogous
#7766CC #AA66CC #CC66BB
triadic
#AA66CC #CCAA66 #66CCAA
tetradic
#AA66CC #CC7766 #88CC66 #66BBCC
square
#AA66CC #CC7766 #88CC66 #66BBCC
split-complementary
#AA66CC #BBCC66 #66CC77
monochromatic
#6B2E8A #8F3DB8 #AA66CC #C494DB #DDC2EB

Accessibility & contrast

On white

3.83
#AA66CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AA66CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66CC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66CC#FFFFFF#000000##000000
##AA66CC1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECF
Deuteranopia (green-blind)
#6384C9
Tritanopia (blue-blind)
#A77690
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa66cc;
/* rgb */ color: rgb(170, 102, 204);
/* oklch */ color: oklch(62.6% 0.162 313.4);
Tailwind
colors: {
  custom: {
    50: '#c594dc',
    500: '#aa66cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa66cc;
$custom-light: #c594dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66cc",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 280,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.62608,
    "c": 0.16199,
    "h": 313.4
  },
  "luminance": 0.22408
}

Semantic roles & 50–950 ramp

primary
#AA66CC
secondary
#C0DBB3
accent
#DA4E7D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AA66CC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AA66CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva