#AA71CC#AA71CC

#AA71CC is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.4% C 0.144 H 311.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AA71CC
RGBrgb(170, 113, 204)
HSLhsl(278, 47%, 62%)
HSVhsv(278, 45%, 80%)
CMYKcmyk(16.7%, 44.6%, 0%, 20%)
CIE-LABlab(56.80, 38.98, -38.57)
CIE-LCHlch(56.80, 54.84, 315.30°)
OKLaboklab(64.35% 0.0958 -0.1071)
OKLCHoklch(64.35% 0.144 311.8)
XYZxyz(33.3799, 24.7166, 60.1274)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71CC #93CC71
analogous
#7D71CC #AA71CC #CC71C1
triadic
#AA71CC #CCAA71 #71CCAA
tetradic
#AA71CC #CC7D71 #93CC71 #71C1CC
square
#AA71CC #CC7D71 #93CC71 #71C1CC
split-complementary
#AA71CC #C1CC71 #71CC7D
monochromatic
#6D338F #8F44BC #AA71CC #C59EDC #E0CBEC

Accessibility & contrast

On white

3.53
#AA71CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#AA71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71CC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71CC#FFFFFF#000000##000000
##AA71CC1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#6D8ACA
Tritanopia (blue-blind)
#A77F95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa71cc;
/* rgb */ color: rgb(170, 113, 204);
/* oklch */ color: oklch(64.4% 0.144 311.8);
Tailwind
colors: {
  custom: {
    50: '#c59bdc',
    500: '#aa71cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa71cc;
$custom-light: #c59bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71cc",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 277.582,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64351,
    "c": 0.1437,
    "h": 311.8
  },
  "luminance": 0.24716
}

Semantic roles & 50–950 ramp

primary
#AA71CC
secondary
#C8DDBC
accent
#BA2B61
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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