#AA71E8#AA71E8

#AA71E8 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.177 H 304.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AA71E8
RGBrgb(170, 113, 232)
HSLhsl(269, 72%, 68%)
HSVhsv(269, 51%, 91%)
CMYKcmyk(26.7%, 51.3%, 0%, 9%)
CIE-LABlab(58.21, 45.36, -52.09)
CIE-LCHlch(58.21, 69.07, 311.05°)
OKLaboklab(65.86% 0.0991 -0.1465)
OKLCHoklch(65.86% 0.177 304.1)
XYZxyz(37.0450, 26.1826, 79.4304)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71E8 #AFE871
analogous
#7174E8 #AA71E8 #E571E8
triadic
#AA71E8 #E8AA71 #71E8AA
tetradic
#AA71E8 #E87174 #AFE871 #71E8E5
square
#AA71E8 #E87174 #AFE871 #71E8E5
split-complementary
#AA71E8 #E8E571 #74E871
monochromatic
#6C1FC0 #8A3CDF #AA71E8 #CAA6F1 #E9DAF9

Accessibility & contrast

On white

3.37
#AA71E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AA71E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71E8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71E8#FFFFFF#000000##000000
##AA71E81.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEC
Deuteranopia (green-blind)
#5C8CE5
Tritanopia (blue-blind)
#9F87A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa71e8;
/* rgb */ color: rgb(170, 113, 232);
/* oklch */ color: oklch(65.9% 0.177 304.1);
Tailwind
colors: {
  custom: {
    50: '#c69bf0',
    500: '#aa71e8',
    950: '#000000',
  },
}
SCSS
$custom: #aa71e8;
$custom-light: #c69bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71e8",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 268.739,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65861,
    "c": 0.17683,
    "h": 304.1
  },
  "luminance": 0.26182
}

Semantic roles & 50–950 ramp

primary
#AA71E8
secondary
#DBEDC8
accent
#D41177
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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