#AA71F7#AA71F7

#AA71F7 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.7% C 0.195 H 300.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AA71F7
RGBrgb(170, 113, 247)
HSLhsl(266, 89%, 71%)
HSVhsv(266, 54%, 97%)
CMYKcmyk(31.2%, 54.3%, 0%, 3.1%)
CIE-LABlab(59.04, 48.94, -59.10)
CIE-LCHlch(59.04, 76.74, 309.63°)
OKLaboklab(66.74% 0.0999 -0.167)
OKLCHoklch(66.74% 0.195 300.9)
XYZxyz(39.2673, 27.0715, 91.1342)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71F7 #BEF771
analogous
#717BF7 #AA71F7 #ED71F7
triadic
#AA71F7 #F7AA71 #71F7AA
tetradic
#AA71F7 #F7717B #BEF771 #71F7ED
square
#AA71F7 #F7717B #BEF771 #71F7ED
split-complementary
#AA71F7 #F7ED71 #7BF771
monochromatic
#670DE1 #8737F4 #AA71F7 #CDABFA #EEE2FD

Accessibility & contrast

On white

3.27
#AA71F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AA71F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71F7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71F7#FFFFFF#000000##000000
##AA71F71.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DFB
Deuteranopia (green-blind)
#4F8DF4
Tritanopia (blue-blind)
#9B8BA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa71f7;
/* rgb */ color: rgb(170, 113, 247);
/* oklch */ color: oklch(66.7% 0.195 300.9);
Tailwind
colors: {
  custom: {
    50: '#c79bfa',
    500: '#aa71f7',
    950: '#000000',
  },
}
SCSS
$custom: #aa71f7;
$custom-light: #c79bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71f7",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 265.522,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66744,
    "c": 0.1946,
    "h": 300.9
  },
  "luminance": 0.27072
}

Semantic roles & 50–950 ramp

primary
#AA71F7
secondary
#E5F4D0
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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