#AA71E7#AA71E7

#AA71E7 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.8% C 0.176 H 304.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AA71E7
RGBrgb(170, 113, 231)
HSLhsl(269, 71%, 67%)
HSVhsv(269, 51%, 91%)
CMYKcmyk(26.4%, 51.1%, 0%, 9.4%)
CIE-LABlab(58.16, 45.12, -51.62)
CIE-LCHlch(58.16, 68.56, 311.16°)
OKLaboklab(65.8% 0.099 -0.1451)
OKLCHoklch(65.8% 0.176 304.3)
XYZxyz(36.9034, 26.1260, 78.6845)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71E7 #AEE771
analogous
#7173E7 #AA71E7 #E571E7
triadic
#AA71E7 #E7AA71 #71E7AA
tetradic
#AA71E7 #E77173 #AEE771 #71E7E5
square
#AA71E7 #E77173 #AEE771 #71E7E5
split-complementary
#AA71E7 #E7E571 #73E771
monochromatic
#6C20BE #8B3DDE #AA71E7 #C9A5F0 #E9DAF9

Accessibility & contrast

On white

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

On black

6.23
#AA71E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71E7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71E7#FFFFFF#000000##000000
##AA71E71.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8AEB
Deuteranopia (green-blind)
#5C8CE4
Tritanopia (blue-blind)
#A086A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa71e7;
/* rgb */ color: rgb(170, 113, 231);
/* oklch */ color: oklch(65.8% 0.176 304.3);
Tailwind
colors: {
  custom: {
    50: '#c69bef',
    500: '#aa71e7',
    950: '#000000',
  },
}
SCSS
$custom: #aa71e7;
$custom-light: #c69bef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71e7",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 268.983,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65804,
    "c": 0.17565,
    "h": 304.3
  },
  "luminance": 0.26126
}

Semantic roles & 50–950 ramp

primary
#AA71E7
secondary
#DBECC7
accent
#D31276
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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