#AA71F6#AA71F6

#AA71F6 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.7% C 0.193 H 301.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AA71F6
RGBrgb(170, 113, 246)
HSLhsl(266, 88%, 70%)
HSVhsv(266, 54%, 96%)
CMYKcmyk(30.9%, 54.1%, 0%, 3.5%)
CIE-LABlab(58.98, 48.70, -58.64)
CIE-LCHlch(58.98, 76.23, 309.71°)
OKLaboklab(66.68% 0.0999 -0.1656)
OKLCHoklch(66.68% 0.193 301.1)
XYZxyz(39.1134, 27.0100, 90.3237)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71F6 #BDF671
analogous
#717BF6 #AA71F6 #EC71F6
triadic
#AA71F6 #F6AA71 #71F6AA
tetradic
#AA71F6 #F6717B #BDF671 #71F6EC
square
#AA71F6 #F6717B #BDF671 #71F6EC
split-complementary
#AA71F6 #F6EC71 #7BF671
monochromatic
#670EDE #8837F2 #AA71F6 #CCABFA #EEE2FD

Accessibility & contrast

On white

3.28
#AA71F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AA71F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71F6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71F6#FFFFFF#000000##000000
##AA71F61.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8DFA
Deuteranopia (green-blind)
#508DF3
Tritanopia (blue-blind)
#9B8BA9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa71f6;
/* rgb */ color: rgb(170, 113, 246);
/* oklch */ color: oklch(66.7% 0.193 301.1);
Tailwind
colors: {
  custom: {
    50: '#c79bfa',
    500: '#aa71f6',
    950: '#000000',
  },
}
SCSS
$custom: #aa71f6;
$custom-light: #c79bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71f6",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 265.714,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66683,
    "c": 0.19342,
    "h": 301.1
  },
  "luminance": 0.2701
}

Semantic roles & 50–950 ramp

primary
#AA71F6
secondary
#E4F4CF
accent
#E50183
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71F6

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

Preview Lab → · Contrast checker → · Palette generator →

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