#AA71F5#AA71F5

#AA71F5 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.192 H 301.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AA71F5
RGBrgb(170, 113, 245)
HSLhsl(266, 87%, 70%)
HSVhsv(266, 54%, 96%)
CMYKcmyk(30.6%, 53.9%, 0%, 3.9%)
CIE-LABlab(58.93, 48.46, -58.18)
CIE-LCHlch(58.93, 75.72, 309.79°)
OKLaboklab(66.62% 0.0999 -0.1643)
OKLCHoklch(66.62% 0.192 301.3)
XYZxyz(38.9603, 26.9487, 89.5176)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71F5 #BCF571
analogous
#717AF5 #AA71F5 #EC71F5
triadic
#AA71F5 #F5AA71 #71F5AA
tetradic
#AA71F5 #F5717A #BCF571 #71F5EC
square
#AA71F5 #F5717A #BCF571 #71F5EC
split-complementary
#AA71F5 #F5EC71 #7AF571
monochromatic
#6810DC #8838F1 #AA71F5 #CCAAF9 #EEE2FD

Accessibility & contrast

On white

3.29
#AA71F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#AA71F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71F5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71F5#FFFFFF#000000##000000
##AA71F51.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8DF9
Deuteranopia (green-blind)
#518DF2
Tritanopia (blue-blind)
#9B8BA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa71f5;
/* rgb */ color: rgb(170, 113, 245);
/* oklch */ color: oklch(66.6% 0.192 301.3);
Tailwind
colors: {
  custom: {
    50: '#c79bf9',
    500: '#aa71f5',
    950: '#000000',
  },
}
SCSS
$custom: #aa71f5;
$custom-light: #c79bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71f5",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 265.909,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66623,
    "c": 0.19224,
    "h": 301.3
  },
  "luminance": 0.26949
}

Semantic roles & 50–950 ramp

primary
#AA71F5
secondary
#E3F3CF
accent
#E30282
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71F5

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

Preview Lab → · Contrast checker → · Palette generator →

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