#AA71F3#AA71F3

#AA71F3 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.190 H 301.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AA71F3
RGBrgb(170, 113, 243)
HSLhsl(266, 84%, 70%)
HSVhsv(266, 53%, 95%)
CMYKcmyk(30%, 53.5%, 0%, 4.7%)
CIE-LABlab(58.81, 47.98, -57.25)
CIE-LCHlch(58.81, 74.69, 309.96°)
OKLaboklab(66.5% 0.0998 -0.1615)
OKLCHoklch(66.5% 0.19 301.7)
XYZxyz(38.6566, 26.8273, 87.9183)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71F3 #BAF371
analogous
#7179F3 #AA71F3 #EB71F3
triadic
#AA71F3 #F3AA71 #71F3AA
tetradic
#AA71F3 #F37179 #BAF371 #71F3EB
square
#AA71F3 #F37179 #BAF371 #71F3EB
split-complementary
#AA71F3 #F3EB71 #79F371
monochromatic
#6912D7 #8839EE #AA71F3 #CCA9F8 #EEE2FD

Accessibility & contrast

On white

3.30
#AA71F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#AA71F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71F3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71F3#FFFFFF#000000##000000
##AA71F31.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#408DF7
Deuteranopia (green-blind)
#538DF0
Tritanopia (blue-blind)
#9C8AA7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa71f3;
/* rgb */ color: rgb(170, 113, 243);
/* oklch */ color: oklch(66.5% 0.190 301.7);
Tailwind
colors: {
  custom: {
    50: '#c79bf8',
    500: '#aa71f3',
    950: '#000000',
  },
}
SCSS
$custom: #aa71f3;
$custom-light: #c79bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71f3",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 266.308,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66504,
    "c": 0.18987,
    "h": 301.7
  },
  "luminance": 0.26827
}

Semantic roles & 50–950 ramp

primary
#AA71F3
secondary
#E2F2CE
accent
#E10580
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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