#AA71DC#AA71DC

#AA71DC is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.2% C 0.163 H 307.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AA71DC
RGBrgb(170, 113, 220)
HSLhsl(272, 60%, 65%)
HSVhsv(272, 49%, 86%)
CMYKcmyk(22.7%, 48.6%, 0%, 13.7%)
CIE-LABlab(57.58, 42.57, -46.37)
CIE-LCHlch(57.58, 62.95, 312.56°)
OKLaboklab(65.19% 0.098 -0.1298)
OKLCHoklch(65.19% 0.163 307.1)
XYZxyz(35.3984, 25.5240, 70.7581)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71DC #A3DC71
analogous
#7571DC #AA71DC #DC71D8
triadic
#AA71DC #DCAA71 #71DCAA
tetradic
#AA71DC #DC7571 #A3DC71 #71D8DC
square
#AA71DC #DC7571 #A3DC71 #71D8DC
split-complementary
#AA71DC #D8DC71 #71DC75
monochromatic
#6D2AA9 #8D40D0 #AA71DC #C7A2E8 #E5D3F4

Accessibility & contrast

On white

3.44
#AA71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#AA71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71DC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71DC#FFFFFF#000000##000000
##AA71DC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#648BD9
Tritanopia (blue-blind)
#A3839C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa71dc;
/* rgb */ color: rgb(170, 113, 220);
/* oklch */ color: oklch(65.2% 0.163 307.1);
Tailwind
colors: {
  custom: {
    50: '#c59be7',
    500: '#aa71dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa71dc;
$custom-light: #c59be7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71dc",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 271.963,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65192,
    "c": 0.16258,
    "h": 307.1
  },
  "luminance": 0.25524
}

Semantic roles & 50–950 ramp

primary
#AA71DC
secondary
#D3E6C2
accent
#C81D6D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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