#AA71EA#AA71EA

#AA71EA is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.0% C 0.179 H 303.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AA71EA
RGBrgb(170, 113, 234)
HSLhsl(268, 74%, 68%)
HSVhsv(268, 52%, 92%)
CMYKcmyk(27.4%, 51.7%, 0%, 8.2%)
CIE-LABlab(58.32, 45.83, -53.04)
CIE-LCHlch(58.32, 70.10, 310.83°)
OKLaboklab(65.98% 0.0992 -0.1492)
OKLCHoklch(65.98% 0.179 303.6)
XYZxyz(37.3307, 26.2969, 80.9351)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71EA #B1EA71
analogous
#7175EA #AA71EA #E671EA
triadic
#AA71EA #EAAA71 #71EAAA
tetradic
#AA71EA #EA7175 #B1EA71 #71EAE6
square
#AA71EA #EA7175 #B1EA71 #71EAE6
split-complementary
#AA71EA #EAE671 #75EA71
monochromatic
#6B1DC4 #8A3CE2 #AA71EA #CAA6F2 #EADCFA

Accessibility & contrast

On white

3.35
#AA71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#AA71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71EA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71EA#FFFFFF#000000##000000
##AA71EA1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#5A8CE7
Tritanopia (blue-blind)
#9F87A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa71ea;
/* rgb */ color: rgb(170, 113, 234);
/* oklch */ color: oklch(66.0% 0.179 303.6);
Tailwind
colors: {
  custom: {
    50: '#c69bf1',
    500: '#aa71ea',
    950: '#000000',
  },
}
SCSS
$custom: #aa71ea;
$custom-light: #c69bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71ea",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 268.264,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65976,
    "c": 0.17921,
    "h": 303.6
  },
  "luminance": 0.26297
}

Semantic roles & 50–950 ramp

primary
#AA71EA
secondary
#DCEEC9
accent
#D60F79
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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