#AA71EF#AA71EF

#AA71EF is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.3% C 0.185 H 302.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AA71EF
RGBrgb(170, 113, 239)
HSLhsl(267, 80%, 69%)
HSVhsv(267, 53%, 94%)
CMYKcmyk(28.9%, 52.7%, 0%, 6.3%)
CIE-LABlab(58.59, 47.02, -55.38)
CIE-LCHlch(58.59, 72.65, 310.33°)
OKLaboklab(66.27% 0.0996 -0.1561)
OKLCHoklch(66.27% 0.185 302.5)
XYZxyz(38.0592, 26.5883, 84.7716)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71EF #B6EF71
analogous
#7177EF #AA71EF #E971EF
triadic
#AA71EF #EFAA71 #71EFAA
tetradic
#AA71EF #EF7177 #B6EF71 #71EFE9
square
#AA71EF #EF7177 #B6EF71 #71EFE9
split-complementary
#AA71EF #EFE971 #77EF71
monochromatic
#6A17CE #893AE9 #AA71EF #CBA8F5 #ECDFFB

Accessibility & contrast

On white

3.32
#AA71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#AA71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71EF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71EF#FFFFFF#000000##000000
##AA71EF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#448CF3
Deuteranopia (green-blind)
#568DEC
Tritanopia (blue-blind)
#9D89A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa71ef;
/* rgb */ color: rgb(170, 113, 239);
/* oklch */ color: oklch(66.3% 0.185 302.5);
Tailwind
colors: {
  custom: {
    50: '#c69bf5',
    500: '#aa71ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa71ef;
$custom-light: #c69bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71ef",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 267.143,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66267,
    "c": 0.18514,
    "h": 302.5
  },
  "luminance": 0.26588
}

Semantic roles & 50–950 ramp

primary
#AA71EF
secondary
#E0F0CB
accent
#DC097D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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