#AA81EB#AA81EB

#AA81EB is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.6% C 0.156 H 300.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#AA81EB
RGBrgb(170, 129, 235)
HSLhsl(263, 73%, 71%)
HSVhsv(263, 45%, 92%)
CMYKcmyk(27.7%, 45.1%, 0%, 7.8%)
CIE-LABlab(61.86, 37.25, -47.97)
CIE-LCHlch(61.86, 60.73, 307.83°)
OKLaboklab(68.64% 0.0782 -0.1344)
OKLCHoklch(68.64% 0.156 300.2)
XYZxyz(39.4198, 30.2445, 82.3422)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81EB #C2EB81
analogous
#818DEB #AA81EB #DF81EB
triadic
#AA81EB #EBAA81 #81EBAA
tetradic
#AA81EB #EB818D #C2EB81 #81EBDF
square
#AA81EB #EB818D #C2EB81 #81EBDF
split-complementary
#AA81EB #EBDF81 #8DEB81
monochromatic
#6521D1 #864CE3 #AA81EB #CEB6F3 #EDE5FB

Accessibility & contrast

On white

2.98
#AA81EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#AA81EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81EB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81EB#FFFFFF#000000##000000
##AA81EB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#9D94AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa81eb;
/* rgb */ color: rgb(170, 129, 235);
/* oklch */ color: oklch(68.6% 0.156 300.2);
Tailwind
colors: {
  custom: {
    50: '#c6a6f2',
    500: '#aa81eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa81eb;
$custom-light: #c6a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81eb",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 263.208,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68638,
    "c": 0.15555,
    "h": 300.2
  },
  "luminance": 0.30245
}

Semantic roles & 50–950 ramp

primary
#AA81EB
secondary
#E7F2D6
accent
#D51189
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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