#AA71E4#AA71E4

#AA71E4 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.6% C 0.172 H 305.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AA71E4
RGBrgb(170, 113, 228)
HSLhsl(270, 68%, 67%)
HSVhsv(270, 50%, 89%)
CMYKcmyk(25.4%, 50.4%, 0%, 10.6%)
CIE-LABlab(58.00, 44.42, -50.20)
CIE-LCHlch(58.00, 67.03, 311.51°)
OKLaboklab(65.64% 0.0988 -0.1409)
OKLCHoklch(65.64% 0.172 305)
XYZxyz(36.4833, 25.9579, 76.4721)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71E4 #ABE471
analogous
#7172E4 #AA71E4 #E371E4
triadic
#AA71E4 #E4AA71 #71E4AA
tetradic
#AA71E4 #E47172 #ABE471 #71E4E3
square
#AA71E4 #E47172 #ABE471 #71E4E3
split-complementary
#AA71E4 #E4E371 #72E471
monochromatic
#6D23B8 #8B3EDA #AA71E4 #C9A4EE #E8D8F8

Accessibility & contrast

On white

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

On black

6.19
#AA71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71E4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71E4#FFFFFF#000000##000000
##AA71E41.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8AE8
Deuteranopia (green-blind)
#5E8CE1
Tritanopia (blue-blind)
#A086A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa71e4;
/* rgb */ color: rgb(170, 113, 228);
/* oklch */ color: oklch(65.6% 0.172 305.0);
Tailwind
colors: {
  custom: {
    50: '#c69bed',
    500: '#aa71e4',
    950: '#000000',
  },
}
SCSS
$custom: #aa71e4;
$custom-light: #c69bed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71e4",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 269.739,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65635,
    "c": 0.17208,
    "h": 305
  },
  "luminance": 0.25958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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