#AA81EE#AA81EE

#AA81EE is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.8% C 0.159 H 299.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AA81EE
RGBrgb(170, 129, 238)
HSLhsl(263, 76%, 72%)
HSVhsv(263, 46%, 93%)
CMYKcmyk(28.6%, 45.8%, 0%, 6.7%)
CIE-LABlab(62.01, 37.98, -49.39)
CIE-LCHlch(62.01, 62.30, 307.56°)
OKLaboklab(68.8% 0.0786 -0.1386)
OKLCHoklch(68.8% 0.159 299.6)
XYZxyz(39.8568, 30.4194, 84.6441)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81EE #C5EE81
analogous
#818FEE #AA81EE #E181EE
triadic
#AA81EE #EEAA81 #81EEAA
tetradic
#AA81EE #EE818F #C5EE81 #81EEE1
square
#AA81EE #EE818F #C5EE81 #81EEE1
split-complementary
#AA81EE #EEE181 #8FEE81
monochromatic
#631DD8 #864BE7 #AA81EE #CEB7F5 #EDE4FB

Accessibility & contrast

On white

2.96
#AA81EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AA81EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81EE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81EE#FFFFFF#000000##000000
##AA81EE1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#6995EB
Tritanopia (blue-blind)
#9D95AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #aa81ee;
/* rgb */ color: rgb(170, 129, 238);
/* oklch */ color: oklch(68.8% 0.159 299.6);
Tailwind
colors: {
  custom: {
    50: '#c6a6f4',
    500: '#aa81ee',
    950: '#000000',
  },
}
SCSS
$custom: #aa81ee;
$custom-light: #c6a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81ee",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 262.569,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68799,
    "c": 0.15935,
    "h": 299.6
  },
  "luminance": 0.3042
}

Semantic roles & 50–950 ramp

primary
#AA81EE
secondary
#E9F3D8
accent
#D80D8C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA81EE

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

Preview Lab → · Contrast checker → · Palette generator →

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