#AA71DB#AA71DB

#AA71DB is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.1% C 0.161 H 307.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AA71DB
RGBrgb(170, 113, 219)
HSLhsl(272, 60%, 65%)
HSVhsv(272, 48%, 86%)
CMYKcmyk(22.4%, 48.4%, 0%, 14.1%)
CIE-LABlab(57.53, 42.34, -45.89)
CIE-LCHlch(57.53, 62.44, 312.70°)
OKLaboklab(65.14% 0.0979 -0.1284)
OKLCHoklch(65.14% 0.161 307.3)
XYZxyz(35.2663, 25.4711, 70.0627)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71DB #A2DB71
analogous
#7571DB #AA71DB #DB71D7
triadic
#AA71DB #DBAA71 #71DBAA
tetradic
#AA71DB #DB7571 #A2DB71 #71D7DB
square
#AA71DB #DB7571 #A2DB71 #71D7DB
split-complementary
#AA71DB #D7DB71 #71DB75
monochromatic
#6E2AA7 #8D40CF #AA71DB #C7A2E7 #E4D3F4

Accessibility & contrast

On white

3.45
#AA71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AA71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71DB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71DB#FFFFFF#000000##000000
##AA71DB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#648BD8
Tritanopia (blue-blind)
#A3839C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa71db;
/* rgb */ color: rgb(170, 113, 219);
/* oklch */ color: oklch(65.1% 0.161 307.3);
Tailwind
colors: {
  custom: {
    50: '#c59be6',
    500: '#aa71db',
    950: '#000000',
  },
}
SCSS
$custom: #aa71db;
$custom-light: #c59be6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71db",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 272.264,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65137,
    "c": 0.1614,
    "h": 307.3
  },
  "luminance": 0.25471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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