#AA71B2#AA71B2

#AA71B2 is a light, moderate purple. Relative luminance 0.236; OKLCH L 63.1% C 0.114 H 322.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AA71B2
RGBrgb(170, 113, 178)
HSLhsl(293, 30%, 57%)
HSVhsv(293, 37%, 70%)
CMYKcmyk(4.5%, 36.5%, 0%, 30.2%)
CIE-LABlab(55.66, 33.52, -25.49)
CIE-LCHlch(55.66, 42.11, 322.75°)
OKLaboklab(63.12% 0.0905 -0.0696)
OKLCHoklch(63.12% 0.114 322.4)
XYZxyz(30.5177, 23.5717, 45.0531)
Luminance0.2357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71B2 #79B271
analogous
#8A71B2 #AA71B2 #B2719A
triadic
#AA71B2 #B2AA71 #71B2AA
tetradic
#AA71B2 #B28A71 #79B271 #719AB2
square
#AA71B2 #B28A71 #79B271 #719AB2
split-complementary
#AA71B2 #9AB271 #71B28A
monochromatic
#673B6D #8D5195 #AA71B2 #C299C8 #DAC0DD

Accessibility & contrast

On white

3.68
#AA71B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#AA71B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71B2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71B2#FFFFFF#000000##000000
##AA71B21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#7888B0
Tritanopia (blue-blind)
#AC7889
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #aa71b2;
/* rgb */ color: rgb(170, 113, 178);
/* oklch */ color: oklch(63.1% 0.114 322.4);
Tailwind
colors: {
  custom: {
    50: '#c49bc9',
    500: '#aa71b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa71b2;
$custom-light: #c49bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71b2",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 292.615,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63118,
    "c": 0.11416,
    "h": 322.4
  },
  "luminance": 0.23571
}

Semantic roles & 50–950 ramp

primary
#AA71B2
secondary
#B5CDB2
accent
#C6626E
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E13
muted
#827E82

Preview Lab

Preview with #AA71B2

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

Preview Lab → · Contrast checker → · Palette generator →

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