#AA71E2#AA71E2

#AA71E2 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.170 H 305.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AA71E2
RGBrgb(170, 113, 226)
HSLhsl(270, 66%, 66%)
HSVhsv(270, 50%, 89%)
CMYKcmyk(24.8%, 50%, 0%, 11.4%)
CIE-LABlab(57.89, 43.96, -49.24)
CIE-LCHlch(57.89, 66.01, 311.75°)
OKLaboklab(65.52% 0.0986 -0.1381)
OKLCHoklch(65.52% 0.17 305.5)
XYZxyz(36.2073, 25.8475, 75.0184)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71E2 #A9E271
analogous
#7271E2 #AA71E2 #E271E2
triadic
#AA71E2 #E2AA71 #71E2AA
tetradic
#AA71E2 #E27271 #A9E271 #71E2E2
square
#AA71E2 #E27271 #A9E271 #71E2E2
split-complementary
#AA71E2 #E2E271 #71E272
monochromatic
#6D25B4 #8C3ED8 #AA71E2 #C8A4EC #E7D7F7

Accessibility & contrast

On white

3.40
#AA71E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AA71E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71E2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71E2#FFFFFF#000000##000000
##AA71E21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E6
Deuteranopia (green-blind)
#608BDF
Tritanopia (blue-blind)
#A1859F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa71e2;
/* rgb */ color: rgb(170, 113, 226);
/* oklch */ color: oklch(65.5% 0.170 305.5);
Tailwind
colors: {
  custom: {
    50: '#c69beb',
    500: '#aa71e2',
    950: '#000000',
  },
}
SCSS
$custom: #aa71e2;
$custom-light: #c69beb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71e2",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 270.265,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65522,
    "c": 0.16971,
    "h": 305.5
  },
  "luminance": 0.25847
}

Semantic roles & 50–950 ramp

primary
#AA71E2
secondary
#D7EAC5
accent
#CE1872
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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