#AA66BF#AA66BF

#AA66BF is a mid, vivid purple. Relative luminance 0.218; OKLCH L 61.9% C 0.148 H 317.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AA66BF
RGBrgb(170, 102, 191)
HSLhsl(286, 41%, 57%)
HSVhsv(286, 47%, 75%)
CMYKcmyk(11%, 46.6%, 0%, 25.1%)
CIE-LABlab(53.83, 42.20, -35.81)
CIE-LCHlch(53.83, 55.35, 319.68°)
OKLaboklab(61.93% 0.1095 -0.0991)
OKLCHoklch(61.93% 0.148 317.8)
XYZxyz(30.7316, 21.8114, 51.8713)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66BF #7BBF66
analogous
#7E66BF #AA66BF #BF66A7
triadic
#AA66BF #BFAA66 #66BFAA
tetradic
#AA66BF #BF7E66 #7BBF66 #66A7BF
square
#AA66BF #BF7E66 #7BBF66 #66A7BF
split-complementary
#AA66BF #A7BF66 #66BF7E
monochromatic
#683278 #8D44A3 #AA66BF #C291D1 #DABCE3

Accessibility & contrast

On white

3.92
#AA66BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AA66BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA66BF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA66BF#FFFFFF#000000##000000
##AA66BF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#577CC2
Deuteranopia (green-blind)
#6A83BC
Tritanopia (blue-blind)
#AA7289
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #aa66bf;
/* rgb */ color: rgb(170, 102, 191);
/* oklch */ color: oklch(61.9% 0.148 317.8);
Tailwind
colors: {
  custom: {
    50: '#c593d2',
    500: '#aa66bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa66bf;
$custom-light: #c593d2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66bf",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 285.843,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61932,
    "c": 0.14766,
    "h": 317.8
  },
  "luminance": 0.2181
}

Semantic roles & 50–950 ramp

primary
#AA66BF
secondary
#B7D2AE
accent
#D15774
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AA66BF

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

Preview Lab → · Contrast checker → · Palette generator →

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