#AA71CE#AA71CE

#AA71CE is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.5% C 0.146 H 311.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AA71CE
RGBrgb(170, 113, 206)
HSLhsl(277, 49%, 63%)
HSVhsv(277, 45%, 81%)
CMYKcmyk(17.5%, 45.1%, 0%, 19.2%)
CIE-LABlab(56.89, 39.42, -39.56)
CIE-LCHlch(56.89, 55.84, 314.90°)
OKLaboklab(64.45% 0.0961 -0.11)
OKLCHoklch(64.45% 0.146 311.1)
XYZxyz(33.6213, 24.8131, 61.3988)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71CE #95CE71
analogous
#7B71CE #AA71CE #CE71C4
triadic
#AA71CE #CEAA71 #71CEAA
tetradic
#AA71CE #CE7B71 #95CE71 #71C4CE
square
#AA71CE #CE7B71 #95CE71 #71C4CE
split-complementary
#AA71CE #C4CE71 #71CE7B
monochromatic
#6D3292 #8F44BE #AA71CE #C59EDE #E0CCED

Accessibility & contrast

On white

3.52
#AA71CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#AA71CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71CE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71CE#FFFFFF#000000##000000
##AA71CE1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D1
Deuteranopia (green-blind)
#6C8ACB
Tritanopia (blue-blind)
#A67F96
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #aa71ce;
/* rgb */ color: rgb(170, 113, 206);
/* oklch */ color: oklch(64.5% 0.146 311.1);
Tailwind
colors: {
  custom: {
    50: '#c59bdd',
    500: '#aa71ce',
    950: '#000000',
  },
}
SCSS
$custom: #aa71ce;
$custom-light: #c59bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71ce",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 276.774,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64452,
    "c": 0.14604,
    "h": 311.1
  },
  "luminance": 0.24813
}

Semantic roles & 50–950 ramp

primary
#AA71CE
secondary
#CADEBC
accent
#BC2A62
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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