#AA71FB#AA71FB

#AA71FB is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.199 H 300.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AA71FB
RGBrgb(170, 113, 251)
HSLhsl(265, 95%, 71%)
HSVhsv(265, 55%, 98%)
CMYKcmyk(32.3%, 55%, 0%, 1.6%)
CIE-LABlab(59.27, 49.91, -60.94)
CIE-LCHlch(59.27, 78.78, 309.32°)
OKLaboklab(66.99% 0.1 -0.1724)
OKLCHoklch(66.99% 0.199 300.1)
XYZxyz(39.8911, 27.3211, 94.4200)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71FB #C2FB71
analogous
#717DFB #AA71FB #EF71FB
triadic
#AA71FB #FBAA71 #71FBAA
tetradic
#AA71FB #FB717D #C2FB71 #71FBEF
square
#AA71FB #FB717D #C2FB71 #71FBEF
split-complementary
#AA71FB #FBEF71 #7DFB71
monochromatic
#6507EB #8635F9 #AA71FB #CEADFD #EDE1FE

Accessibility & contrast

On white

3.25
#AA71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AA71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71FB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71FB#FFFFFF#000000##000000
##AA71FB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#368EFF
Deuteranopia (green-blind)
#4B8EF8
Tritanopia (blue-blind)
#998DAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa71fb;
/* rgb */ color: rgb(170, 113, 251);
/* oklch */ color: oklch(67.0% 0.199 300.1);
Tailwind
colors: {
  custom: {
    50: '#c79cfd',
    500: '#aa71fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa71fb;
$custom-light: #c79cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71fb",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 264.783,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66987,
    "c": 0.19931,
    "h": 300.1
  },
  "luminance": 0.27321
}

Semantic roles & 50–950 ramp

primary
#AA71FB
secondary
#E7F6D2
accent
#E60087
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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