#AA71BB#AA71BB

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

Color values

HEX#AA71BB
RGBrgb(170, 113, 187)
HSLhsl(286, 35%, 59%)
HSVhsv(286, 40%, 73%)
CMYKcmyk(9.1%, 39.6%, 0%, 26.7%)
CIE-LABlab(56.03, 35.35, -30.07)
CIE-LCHlch(56.03, 46.41, 319.61°)
OKLaboklab(63.53% 0.0925 -0.0827)
OKLCHoklch(63.53% 0.124 318.2)
XYZxyz(31.4511, 23.9451, 49.9692)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71BB #82BB71
analogous
#8571BB #AA71BB #BB71A7
triadic
#AA71BB #BBAA71 #71BBAA
tetradic
#AA71BB #BB8571 #82BB71 #71A7BB
square
#AA71BB #BB8571 #82BB71 #71A7BB
split-complementary
#AA71BB #A7BB71 #71BB85
monochromatic
#6A3A78 #8E4DA1 #AA71BB #C39ACF #DCC4E3

Accessibility & contrast

On white

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

On black

5.79
#AA71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71BB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71BB#FFFFFF#000000##000000
##AA71BB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BE
Deuteranopia (green-blind)
#7588B9
Tritanopia (blue-blind)
#AA7A8D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #aa71bb;
/* rgb */ color: rgb(170, 113, 187);
/* oklch */ color: oklch(63.5% 0.124 318.2);
Tailwind
colors: {
  custom: {
    50: '#c49bcf',
    500: '#aa71bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa71bb;
$custom-light: #c49bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71bb",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 286.216,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63525,
    "c": 0.12412,
    "h": 318.2
  },
  "luminance": 0.23944
}

Semantic roles & 50–950 ramp

primary
#AA71BB
secondary
#BCD2B5
accent
#CB5D76
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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