#AA71BA#AA71BA

#AA71BA is a light, vivid purple. Relative luminance 0.239; OKLCH L 63.5% C 0.123 H 318.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AA71BA
RGBrgb(170, 113, 186)
HSLhsl(287, 35%, 59%)
HSVhsv(287, 39%, 73%)
CMYKcmyk(8.6%, 39.2%, 0%, 27.1%)
CIE-LABlab(55.99, 35.14, -29.57)
CIE-LCHlch(55.99, 45.93, 319.92°)
OKLaboklab(63.48% 0.0923 -0.0812)
OKLCHoklch(63.48% 0.123 318.7)
XYZxyz(31.3444, 23.9024, 49.4073)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71BA #81BA71
analogous
#8571BA #AA71BA #BA71A5
triadic
#AA71BA #BAAA71 #71BAAA
tetradic
#AA71BA #BA8571 #81BA71 #71A5BA
square
#AA71BA #BA8571 #81BA71 #71A5BA
split-complementary
#AA71BA #A5BA71 #71BA85
monochromatic
#693A77 #8E4EA0 #AA71BA #C39ACE #DBC3E2

Accessibility & contrast

On white

3.63
#AA71BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#AA71BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71BA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71BA#FFFFFF#000000##000000
##AA71BA1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6782BD
Deuteranopia (green-blind)
#7588B8
Tritanopia (blue-blind)
#AA7A8D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #aa71ba;
/* rgb */ color: rgb(170, 113, 186);
/* oklch */ color: oklch(63.5% 0.123 318.7);
Tailwind
colors: {
  custom: {
    50: '#c49bcf',
    500: '#aa71ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa71ba;
$custom-light: #c49bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71ba",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 286.849,
    "s": 34.597,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63479,
    "c": 0.12299,
    "h": 318.7
  },
  "luminance": 0.23901
}

Semantic roles & 50–950 ramp

primary
#AA71BA
secondary
#BBD2B5
accent
#CB5D75
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E13
muted
#827E82

Preview Lab

Preview with #AA71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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