#AA71BC#AA71BC

#AA71BC is a light, vivid purple. Relative luminance 0.240; OKLCH L 63.6% C 0.125 H 317.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AA71BC
RGBrgb(170, 113, 188)
HSLhsl(286, 36%, 59%)
HSVhsv(286, 40%, 74%)
CMYKcmyk(9.6%, 39.9%, 0%, 26.3%)
CIE-LABlab(56.08, 35.56, -30.58)
CIE-LCHlch(56.08, 46.90, 319.30°)
OKLaboklab(63.57% 0.0928 -0.0841)
OKLCHoklch(63.57% 0.125 317.8)
XYZxyz(31.5585, 23.9880, 50.5349)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71BC #83BC71
analogous
#8571BC #AA71BC #BC71A9
triadic
#AA71BC #BCAA71 #71BCAA
tetradic
#AA71BC #BC8571 #83BC71 #71A9BC
square
#AA71BC #BC8571 #83BC71 #71A9BC
split-complementary
#AA71BC #A9BC71 #71BC85
monochromatic
#6A3979 #8E4DA3 #AA71BC #C39BD0 #DCC4E3

Accessibility & contrast

On white

3.62
#AA71BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AA71BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71BC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71BC#FFFFFF#000000##000000
##AA71BC1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#7488BA
Tritanopia (blue-blind)
#AA7B8E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #aa71bc;
/* rgb */ color: rgb(170, 113, 188);
/* oklch */ color: oklch(63.6% 0.125 317.8);
Tailwind
colors: {
  custom: {
    50: '#c49bd0',
    500: '#aa71bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa71bc;
$custom-light: #c49bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71bc",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 285.6,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63572,
    "c": 0.12524,
    "h": 317.8
  },
  "luminance": 0.23987
}

Semantic roles & 50–950 ramp

primary
#AA71BC
secondary
#BDD3B6
accent
#CC5C77
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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