#AA71F1#AA71F1

#AA71F1 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.188 H 302.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AA71F1
RGBrgb(170, 113, 241)
HSLhsl(267, 82%, 69%)
HSVhsv(267, 53%, 95%)
CMYKcmyk(29.5%, 53.1%, 0%, 5.5%)
CIE-LABlab(58.70, 47.50, -56.32)
CIE-LCHlch(58.70, 73.67, 310.14°)
OKLaboklab(66.39% 0.0997 -0.1588)
OKLCHoklch(66.39% 0.188 302.1)
XYZxyz(38.3563, 26.7071, 86.3363)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71F1 #B8F171
analogous
#7178F1 #AA71F1 #EA71F1
triadic
#AA71F1 #F1AA71 #71F1AA
tetradic
#AA71F1 #F17178 #B8F171 #71F1EA
square
#AA71F1 #F17178 #B8F171 #71F1EA
split-complementary
#AA71F1 #F1EA71 #78F171
monochromatic
#6915D3 #8939EC #AA71F1 #CBA9F6 #EDE0FC

Accessibility & contrast

On white

3.31
#AA71F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AA71F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71F1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71F1#FFFFFF#000000##000000
##AA71F11.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#428CF5
Deuteranopia (green-blind)
#548DEE
Tritanopia (blue-blind)
#9C89A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa71f1;
/* rgb */ color: rgb(170, 113, 241);
/* oklch */ color: oklch(66.4% 0.188 302.1);
Tailwind
colors: {
  custom: {
    50: '#c79bf6',
    500: '#aa71f1',
    950: '#000000',
  },
}
SCSS
$custom: #aa71f1;
$custom-light: #c79bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71f1",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 266.719,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66385,
    "c": 0.1875,
    "h": 302.1
  },
  "luminance": 0.26707
}

Semantic roles & 50–950 ramp

primary
#AA71F1
secondary
#E1F1CC
accent
#DE077F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71F1

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

Preview Lab → · Contrast checker → · Palette generator →

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