#AA81EA#AA81EA

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

Color values

HEX#AA81EA
RGBrgb(170, 129, 234)
HSLhsl(263, 71%, 71%)
HSVhsv(263, 45%, 92%)
CMYKcmyk(27.4%, 44.9%, 0%, 8.2%)
CIE-LABlab(61.82, 37.01, -47.49)
CIE-LCHlch(61.82, 60.21, 307.93°)
OKLaboklab(68.58% 0.0781 -0.1331)
OKLCHoklch(68.58% 0.154 300.4)
XYZxyz(39.2757, 30.1869, 81.5834)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA81EA #C1EA81
analogous
#818CEA #AA81EA #DF81EA
triadic
#AA81EA #EAAA81 #81EAAA
tetradic
#AA81EA #EA818C #C1EA81 #81EADF
square
#AA81EA #EA818C #C1EA81 #81EADF
split-complementary
#AA81EA #EADF81 #8CEA81
monochromatic
#6522CE #874DE1 #AA81EA #CDB5F3 #EDE5FB

Accessibility & contrast

On white

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

On black

7.04
#AA81EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA81EA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA81EA#FFFFFF#000000##000000
##AA81EA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#6C95E7
Tritanopia (blue-blind)
#9E94AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #aa81ea;
/* rgb */ color: rgb(170, 129, 234);
/* oklch */ color: oklch(68.6% 0.154 300.4);
Tailwind
colors: {
  custom: {
    50: '#c5a6f1',
    500: '#aa81ea',
    950: '#000000',
  },
}
SCSS
$custom: #aa81ea;
$custom-light: #c5a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa81ea",
  "rgb": {
    "r": 170,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 263.429,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68585,
    "c": 0.15429,
    "h": 300.4
  },
  "luminance": 0.30187
}

Semantic roles & 50–950 ramp

primary
#AA81EA
secondary
#E6F1D6
accent
#D31288
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AA81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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