#AA71EE#AA71EE

#AA71EE is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.184 H 302.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AA71EE
RGBrgb(170, 113, 238)
HSLhsl(267, 79%, 69%)
HSVhsv(267, 53%, 93%)
CMYKcmyk(28.6%, 52.5%, 0%, 6.7%)
CIE-LABlab(58.54, 46.78, -54.92)
CIE-LCHlch(58.54, 72.14, 310.43°)
OKLaboklab(66.21% 0.0995 -0.1547)
OKLCHoklch(66.21% 0.184 302.7)
XYZxyz(37.9118, 26.5294, 83.9957)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71EE #B5EE71
analogous
#7177EE #AA71EE #E971EE
triadic
#AA71EE #EEAA71 #71EEAA
tetradic
#AA71EE #EE7177 #B5EE71 #71EEE9
square
#AA71EE #EE7177 #B5EE71 #71EEE9
split-complementary
#AA71EE #EEE971 #77EE71
monochromatic
#6A18CC #893AE7 #AA71EE #CBA8F5 #EBDEFB

Accessibility & contrast

On white

3.33
#AA71EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#AA71EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71EE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71EE#FFFFFF#000000##000000
##AA71EE1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF2
Deuteranopia (green-blind)
#578CEB
Tritanopia (blue-blind)
#9D89A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa71ee;
/* rgb */ color: rgb(170, 113, 238);
/* oklch */ color: oklch(66.2% 0.184 302.7);
Tailwind
colors: {
  custom: {
    50: '#c69bf4',
    500: '#aa71ee',
    950: '#000000',
  },
}
SCSS
$custom: #aa71ee;
$custom-light: #c69bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71ee",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 267.36,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.18395,
    "h": 302.7
  },
  "luminance": 0.26529
}

Semantic roles & 50–950 ramp

primary
#AA71EE
secondary
#DFF0CB
accent
#DB0B7C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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