#AA71F9#AA71F9

#AA71F9 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.9% C 0.197 H 300.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AA71F9
RGBrgb(170, 113, 249)
HSLhsl(265, 92%, 71%)
HSVhsv(265, 55%, 98%)
CMYKcmyk(31.7%, 54.6%, 0%, 2.4%)
CIE-LABlab(59.15, 49.43, -60.02)
CIE-LCHlch(59.15, 77.76, 309.47°)
OKLaboklab(66.86% 0.1 -0.1697)
OKLCHoklch(66.86% 0.197 300.5)
XYZxyz(39.5775, 27.1956, 92.7684)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71F9 #C0F971
analogous
#717CF9 #AA71F9 #EE71F9
triadic
#AA71F9 #F9AA71 #71F9AA
tetradic
#AA71F9 #F9717C #C0F971 #71F9EE
square
#AA71F9 #F9717C #C0F971 #71F9EE
split-complementary
#AA71F9 #F9EE71 #7CF971
monochromatic
#660AE6 #8736F7 #AA71F9 #CDACFB #EDE2FE

Accessibility & contrast

On white

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

On black

6.44
#AA71F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71F9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71F9#FFFFFF#000000##000000
##AA71F91.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFE
Deuteranopia (green-blind)
#4D8EF6
Tritanopia (blue-blind)
#9A8CAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa71f9;
/* rgb */ color: rgb(170, 113, 249);
/* oklch */ color: oklch(66.9% 0.197 300.5);
Tailwind
colors: {
  custom: {
    50: '#c79bfc',
    500: '#aa71f9',
    950: '#000000',
  },
}
SCSS
$custom: #aa71f9;
$custom-light: #c79bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71f9",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 265.147,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66865,
    "c": 0.19696,
    "h": 300.5
  },
  "luminance": 0.27196
}

Semantic roles & 50–950 ramp

primary
#AA71F9
secondary
#E6F5D1
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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