#AA71BD#AA71BD

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

Color values

HEX#AA71BD
RGBrgb(170, 113, 189)
HSLhsl(285, 37%, 59%)
HSVhsv(285, 40%, 74%)
CMYKcmyk(10.1%, 40.2%, 0%, 25.9%)
CIE-LABlab(56.12, 35.77, -31.08)
CIE-LCHlch(56.12, 47.39, 319.00°)
OKLaboklab(63.62% 0.093 -0.0856)
OKLCHoklch(63.62% 0.126 317.4)
XYZxyz(31.6667, 24.0313, 51.1046)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71BD #84BD71
analogous
#8471BD #AA71BD #BD71AA
triadic
#AA71BD #BDAA71 #71BDAA
tetradic
#AA71BD #BD8471 #84BD71 #71AABD
square
#AA71BD #BD8471 #84BD71 #71AABD
split-complementary
#AA71BD #AABD71 #71BD84
monochromatic
#6A397B #8E4CA4 #AA71BD #C39BD0 #DCC5E4

Accessibility & contrast

On white

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

On black

5.81
#AA71BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71BD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71BD#FFFFFF#000000##000000
##AA71BD1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6583C0
Deuteranopia (green-blind)
#7488BB
Tritanopia (blue-blind)
#AA7B8E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #aa71bd;
/* rgb */ color: rgb(170, 113, 189);
/* oklch */ color: oklch(63.6% 0.126 317.4);
Tailwind
colors: {
  custom: {
    50: '#c49bd1',
    500: '#aa71bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa71bd;
$custom-light: #c49bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71bd",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 285,
    "s": 36.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63618,
    "c": 0.12637,
    "h": 317.4
  },
  "luminance": 0.2403
}

Semantic roles & 50–950 ramp

primary
#AA71BD
secondary
#BDD4B6
accent
#CD5B78
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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