#AA71DF#AA71DF

#AA71DF is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.4% C 0.166 H 306.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA71DF
RGBrgb(170, 113, 223)
HSLhsl(271, 63%, 66%)
HSVhsv(271, 49%, 87%)
CMYKcmyk(23.8%, 49.3%, 0%, 12.5%)
CIE-LABlab(57.74, 43.26, -47.81)
CIE-LCHlch(57.74, 64.48, 312.14°)
OKLaboklab(65.36% 0.0983 -0.134)
OKLCHoklch(65.36% 0.166 306.3)
XYZxyz(35.7992, 25.6843, 72.8694)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71DF #A6DF71
analogous
#7371DF #AA71DF #DF71DD
triadic
#AA71DF #DFAA71 #71DFAA
tetradic
#AA71DF #DF7371 #A6DF71 #71DDDF
square
#AA71DF #DF7371 #A6DF71 #71DDDF
split-complementary
#AA71DF #DDDF71 #71DF73
monochromatic
#6D27AE #8C3FD4 #AA71DF #C8A3EA #E6D5F6

Accessibility & contrast

On white

3.42
#AA71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AA71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71DF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71DF#FFFFFF#000000##000000
##AA71DF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5289E3
Deuteranopia (green-blind)
#628BDC
Tritanopia (blue-blind)
#A2849E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa71df;
/* rgb */ color: rgb(170, 113, 223);
/* oklch */ color: oklch(65.4% 0.166 306.3);
Tailwind
colors: {
  custom: {
    50: '#c69be9',
    500: '#aa71df',
    950: '#000000',
  },
}
SCSS
$custom: #aa71df;
$custom-light: #c69be9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71df",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 271.091,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65356,
    "c": 0.16615,
    "h": 306.3
  },
  "luminance": 0.25684
}

Semantic roles & 50–950 ramp

primary
#AA71DF
secondary
#D5E8C4
accent
#CB1B70
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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