#AA71FE#AA71FE

#AA71FE is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.2% C 0.203 H 299.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AA71FE
RGBrgb(170, 113, 254)
HSLhsl(264, 99%, 72%)
HSVhsv(264, 56%, 100%)
CMYKcmyk(33.1%, 55.5%, 0%, 0.4%)
CIE-LABlab(59.45, 50.65, -62.32)
CIE-LCHlch(59.45, 80.30, 309.10°)
OKLaboklab(67.17% 0.1001 -0.1764)
OKLCHoklch(67.17% 0.203 299.6)
XYZxyz(40.3678, 27.5117, 96.9303)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71FE #C5FE71
analogous
#717FFE #AA71FE #F071FE
triadic
#AA71FE #FEAA71 #71FEAA
tetradic
#AA71FE #FE717F #C5FE71 #71FEF0
square
#AA71FE #FE717F #C5FE71 #71FEF0
split-complementary
#AA71FE #FEF071 #7FFE71
monochromatic
#6302F3 #8634FE #AA71FE #CEAEFE #EDE1FF

Accessibility & contrast

On white

3.23
#AA71FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AA71FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71FE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71FE#FFFFFF#000000##000000
##AA71FE1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#328FFF
Deuteranopia (green-blind)
#478EFB
Tritanopia (blue-blind)
#988EAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa71fe;
/* rgb */ color: rgb(170, 113, 254);
/* oklch */ color: oklch(67.2% 0.203 299.6);
Tailwind
colors: {
  custom: {
    50: '#c79cff',
    500: '#aa71fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa71fe;
$custom-light: #c79cff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71fe",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 264.255,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67172,
    "c": 0.20284,
    "h": 299.6
  },
  "luminance": 0.27512
}

Semantic roles & 50–950 ramp

primary
#AA71FE
secondary
#E9F7D4
accent
#E60089
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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