#AA71FA#AA71FA

#AA71FA is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.198 H 300.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AA71FA
RGBrgb(170, 113, 250)
HSLhsl(265, 93%, 71%)
HSVhsv(265, 55%, 98%)
CMYKcmyk(32%, 54.8%, 0%, 2%)
CIE-LABlab(59.21, 49.67, -60.48)
CIE-LCHlch(59.21, 78.27, 309.39°)
OKLaboklab(66.93% 0.1 -0.171)
OKLCHoklch(66.93% 0.198 300.3)
XYZxyz(39.7339, 27.2582, 93.5920)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71FA #C1FA71
analogous
#717CFA #AA71FA #EF71FA
triadic
#AA71FA #FAAA71 #71FAAA
tetradic
#AA71FA #FA717C #C1FA71 #71FAEF
square
#AA71FA #FA717C #C1FA71 #71FAEF
split-complementary
#AA71FA #FAEF71 #7CFA71
monochromatic
#6508E8 #8736F8 #AA71FA #CDACFC #EDE1FE

Accessibility & contrast

On white

3.26
#AA71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#AA71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71FA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71FA#FFFFFF#000000##000000
##AA71FA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFF
Deuteranopia (green-blind)
#4C8EF7
Tritanopia (blue-blind)
#9A8CAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa71fa;
/* rgb */ color: rgb(170, 113, 250);
/* oklch */ color: oklch(66.9% 0.198 300.3);
Tailwind
colors: {
  custom: {
    50: '#c79cfd',
    500: '#aa71fa',
    950: '#000000',
  },
}
SCSS
$custom: #aa71fa;
$custom-light: #c79cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71fa",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 264.964,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66926,
    "c": 0.19813,
    "h": 300.3
  },
  "luminance": 0.27258
}

Semantic roles & 50–950 ramp

primary
#AA71FA
secondary
#E6F5D1
accent
#E60086
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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