#AA71EB#AA71EB

#AA71EB is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.180 H 303.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AA71EB
RGBrgb(170, 113, 235)
HSLhsl(268, 75%, 68%)
HSVhsv(268, 52%, 92%)
CMYKcmyk(27.7%, 51.9%, 0%, 7.8%)
CIE-LABlab(58.37, 46.07, -53.51)
CIE-LCHlch(58.37, 70.61, 310.73°)
OKLaboklab(66.03% 0.0993 -0.1506)
OKLCHoklch(66.03% 0.18 303.4)
XYZxyz(37.4748, 26.3545, 81.6938)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA71EB #B2EB71
analogous
#7175EB #AA71EB #E771EB
triadic
#AA71EB #EBAA71 #71EBAA
tetradic
#AA71EB #EB7175 #B2EB71 #71EBE7
square
#AA71EB #EB7175 #B2EB71 #71EBE7
split-complementary
#AA71EB #EBE771 #75EB71
monochromatic
#6B1CC6 #8A3BE3 #AA71EB #CAA7F3 #EADCFA

Accessibility & contrast

On white

3.35
#AA71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AA71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA71EB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA71EB#FFFFFF#000000##000000
##AA71EB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#9E88A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa71eb;
/* rgb */ color: rgb(170, 113, 235);
/* oklch */ color: oklch(66.0% 0.180 303.4);
Tailwind
colors: {
  custom: {
    50: '#c69bf2',
    500: '#aa71eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa71eb;
$custom-light: #c69bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa71eb",
  "rgb": {
    "r": 170,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 268.033,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66034,
    "c": 0.1804,
    "h": 303.4
  },
  "luminance": 0.26354
}

Semantic roles & 50–950 ramp

primary
#AA71EB
secondary
#DDEEC9
accent
#D70E79
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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