#AA66BC#AA66BC

#AA66BC is a mid, vivid purple. Relative luminance 0.217; OKLCH L 61.8% C 0.144 H 319.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AA66BC
RGBrgb(170, 102, 188)
HSLhsl(287, 39%, 57%)
HSVhsv(287, 46%, 74%)
CMYKcmyk(9.6%, 45.7%, 0%, 26.3%)
CIE-LABlab(53.69, 41.58, -34.31)
CIE-LCHlch(53.69, 53.91, 320.48°)
OKLaboklab(61.78% 0.109 -0.0948)
OKLCHoklch(61.78% 0.144 319)
XYZxyz(30.4048, 21.6807, 50.1504)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66BC #78BC66
analogous
#7F66BC #AA66BC #BC66A3
triadic
#AA66BC #BCAA66 #66BCAA
tetradic
#AA66BC #BC7F66 #78BC66 #66A3BC
square
#AA66BC #BC7F66 #78BC66 #66A3BC
split-complementary
#AA66BC #A3BC66 #66BC7F
monochromatic
#673375 #8C469F #AA66BC #C291CF #D9BBE1

Accessibility & contrast

On white

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

On black

5.34
#AA66BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66BC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66BC#FFFFFF#000000##000000
##AA66BC1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#587CBF
Deuteranopia (green-blind)
#6B83BA
Tritanopia (blue-blind)
#AA7188
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa66bc;
/* rgb */ color: rgb(170, 102, 188);
/* oklch */ color: oklch(61.8% 0.144 319.0);
Tailwind
colors: {
  custom: {
    50: '#c593d0',
    500: '#aa66bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa66bc;
$custom-light: #c593d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66bc",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 287.442,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61782,
    "c": 0.14442,
    "h": 319
  },
  "luminance": 0.2168
}

Semantic roles & 50–950 ramp

primary
#AA66BC
secondary
#B5D0AD
accent
#CF5972
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AA66BC

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

Preview Lab → · Contrast checker → · Palette generator →

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