#AA71E5#AA71E5

#AA71E5 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.7% C 0.173 H 304.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AA71E5
RGBrgb(170, 113, 229)
HSLhsl(269, 69%, 67%)
HSVhsv(269, 51%, 90%)
CMYKcmyk(25.8%, 50.7%, 0%, 10.2%)
CIE-LABlab(58.05, 44.66, -50.67)
CIE-LCHlch(58.05, 67.54, 311.39°)
OKLaboklab(65.69% 0.0988 -0.1423)
OKLCHoklch(65.69% 0.173 304.8)
XYZxyz(36.6225, 26.0136, 77.2053)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71E5 #ACE571
analogous
#7172E5 #AA71E5 #E471E5
triadic
#AA71E5 #E5AA71 #71E5AA
tetradic
#AA71E5 #E57172 #ACE571 #71E5E4
square
#AA71E5 #E57172 #ACE571 #71E5E4
split-complementary
#AA71E5 #E5E471 #72E571
monochromatic
#6C22BA #8B3DDC #AA71E5 #C9A5EE #E8D8F8

Accessibility & contrast

On white

3.39
#AA71E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#AA71E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71E5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71E5#FFFFFF#000000##000000
##AA71E51.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#5E8CE2
Tritanopia (blue-blind)
#A086A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa71e5;
/* rgb */ color: rgb(170, 113, 229);
/* oklch */ color: oklch(65.7% 0.173 304.8);
Tailwind
colors: {
  custom: {
    50: '#c69bee',
    500: '#aa71e5',
    950: '#000000',
  },
}
SCSS
$custom: #aa71e5;
$custom-light: #c69bee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71e5",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 269.483,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65691,
    "c": 0.17327,
    "h": 304.8
  },
  "luminance": 0.26013
}

Semantic roles & 50–950 ramp

primary
#AA71E5
secondary
#D9EBC6
accent
#D11474
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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