#AA71CB#AA71CB

#AA71CB is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.3% C 0.143 H 312.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AA71CB
RGBrgb(170, 113, 203)
HSLhsl(278, 46%, 62%)
HSVhsv(278, 44%, 80%)
CMYKcmyk(16.3%, 44.3%, 0%, 20.4%)
CIE-LABlab(56.75, 38.76, -38.08)
CIE-LCHlch(56.75, 54.33, 315.51°)
OKLaboklab(64.3% 0.0956 -0.1057)
OKLCHoklch(64.3% 0.143 312.1)
XYZxyz(33.2603, 24.6687, 59.4978)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71CB #92CB71
analogous
#7D71CB #AA71CB #CB71BF
triadic
#AA71CB #CBAA71 #71CBAA
tetradic
#AA71CB #CB7D71 #92CB71 #71BFCB
square
#AA71CB #CB7D71 #92CB71 #71BFCB
split-complementary
#AA71CB #BFCB71 #71CB7D
monochromatic
#6D348E #8F44BB #AA71CB #C59EDB #E0CBEC

Accessibility & contrast

On white

3.54
#AA71CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#AA71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71CB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71CB#FFFFFF#000000##000000
##AA71CB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CE
Deuteranopia (green-blind)
#6D89C9
Tritanopia (blue-blind)
#A77E94
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa71cb;
/* rgb */ color: rgb(170, 113, 203);
/* oklch */ color: oklch(64.3% 0.143 312.1);
Tailwind
colors: {
  custom: {
    50: '#c59bdb',
    500: '#aa71cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa71cb;
$custom-light: #c59bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71cb",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 278,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.643,
    "c": 0.14252,
    "h": 312.1
  },
  "luminance": 0.24668
}

Semantic roles & 50–950 ramp

primary
#AA71CB
secondary
#C7DCBB
accent
#BA2C60
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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