#AA66BD#AA66BD

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

Color values

HEX#AA66BD
RGBrgb(170, 102, 189)
HSLhsl(287, 40%, 57%)
HSVhsv(287, 46%, 74%)
CMYKcmyk(10.1%, 46%, 0%, 25.9%)
CIE-LABlab(53.73, 41.79, -34.81)
CIE-LCHlch(53.73, 54.39, 320.21°)
OKLaboklab(61.83% 0.1092 -0.0962)
OKLCHoklch(61.83% 0.146 318.6)
XYZxyz(30.5130, 21.7239, 50.7201)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA66BD #79BD66
analogous
#7F66BD #AA66BD #BD66A4
triadic
#AA66BD #BDAA66 #66BDAA
tetradic
#AA66BD #BD7F66 #79BD66 #66A4BD
square
#AA66BD #BD7F66 #79BD66 #66A4BD
split-complementary
#AA66BD #A4BD66 #66BD7F
monochromatic
#673376 #8D45A1 #AA66BD #C291CF #DABCE2

Accessibility & contrast

On white

3.93
#AA66BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA66BD#FFFFFF#000000##000000
##AA66BD1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#587CC0
Deuteranopia (green-blind)
#6B83BB
Tritanopia (blue-blind)
#AA7289
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa66bd;
/* rgb */ color: rgb(170, 102, 189);
/* oklch */ color: oklch(61.8% 0.145 318.6);
Tailwind
colors: {
  custom: {
    50: '#c593d1',
    500: '#aa66bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa66bd;
$custom-light: #c593d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa66bd",
  "rgb": {
    "r": 170,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 286.897,
    "s": 39.726,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.1455,
    "h": 318.6
  },
  "luminance": 0.21723
}

Semantic roles & 50–950 ramp

primary
#AA66BD
secondary
#B5D1AE
accent
#D05872
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AA66BD

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

Preview Lab → · Contrast checker → · Palette generator →

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