#AA66BB#AA66BB

#AA66BB is a mid, vivid purple. Relative luminance 0.216; OKLCH L 61.7% C 0.143 H 319.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AA66BB
RGBrgb(170, 102, 187)
HSLhsl(288, 38%, 57%)
HSVhsv(288, 45%, 73%)
CMYKcmyk(9.1%, 45.5%, 0%, 26.7%)
CIE-LABlab(53.64, 41.38, -33.80)
CIE-LCHlch(53.64, 53.43, 320.76°)
OKLaboklab(61.73% 0.1088 -0.0933)
OKLCHoklch(61.73% 0.143 319.4)
XYZxyz(30.2974, 21.6377, 49.5846)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66BB #77BB66
analogous
#8066BB #AA66BB #BB66A2
triadic
#AA66BB #BBAA66 #66BBAA
tetradic
#AA66BB #BB8066 #77BB66 #66A2BB
square
#AA66BB #BB8066 #77BB66 #66A2BB
split-complementary
#AA66BB #A2BB66 #66BB80
monochromatic
#673373 #8C469E #AA66BB #C290CE #D9BBE1

Accessibility & contrast

On white

3.94
#AA66BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AA66BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66BB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66BB#FFFFFF#000000##000000
##AA66BB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBE
Deuteranopia (green-blind)
#6C83B9
Tritanopia (blue-blind)
#AB7188
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa66bb;
/* rgb */ color: rgb(170, 102, 187);
/* oklch */ color: oklch(61.7% 0.143 319.4);
Tailwind
colors: {
  custom: {
    50: '#c593d0',
    500: '#aa66bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa66bb;
$custom-light: #c593d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66bb",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 288,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61733,
    "c": 0.14334,
    "h": 319.4
  },
  "luminance": 0.21637
}

Semantic roles & 50–950 ramp

primary
#AA66BB
secondary
#B4D0AD
accent
#CE5971
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AA66BB

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

Preview Lab → · Contrast checker → · Palette generator →

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