#AA9AEE#AA9AEE

#AA9AEE is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.3% C 0.120 H 291.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AA9AEE
RGBrgb(170, 154, 238)
HSLhsl(251, 71%, 77%)
HSVhsv(251, 35%, 93%)
CMYKcmyk(28.6%, 35.3%, 0%, 6.7%)
CIE-LABlab(67.89, 23.89, -40.14)
CIE-LCHlch(67.89, 46.71, 300.75°)
OKLaboklab(73.25% 0.0449 -0.1118)
OKLCHoklch(73.25% 0.121 291.9)
XYZxyz(43.5619, 37.8295, 85.8791)
Luminance0.3783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9AEE #DEEE9A
analogous
#9AB4EE #AA9AEE #D49AEE
triadic
#AA9AEE #EEAA9A #9AEEAA
tetradic
#AA9AEE #EE9AB4 #DEEE9A #9AEED4
square
#AA9AEE #EE9AB4 #DEEE9A #9AEED4
split-complementary
#AA9AEE #EED49A #B4EE9A
monochromatic
#5231DC #7E66E5 #AA9AEE #D6CEF7 #E9E5FB

Accessibility & contrast

On white

2.45
#AA9AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AA9AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9AEE
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9AEE#FFFFFF#000000##000000
##AA9AEE1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F1
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#9BA9B9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa9aee;
/* rgb */ color: rgb(170, 154, 238);
/* oklch */ color: oklch(73.3% 0.120 291.9);
Tailwind
colors: {
  custom: {
    50: '#c5b7f4',
    500: '#aa9aee',
    950: '#000000',
  },
}
SCSS
$custom: #aa9aee;
$custom-light: #c5b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9aee",
  "rgb": {
    "r": 170,
    "g": 154,
    "b": 238
  },
  "hsl": {
    "h": 251.429,
    "s": 71.186,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73254,
    "c": 0.1205,
    "h": 291.9
  },
  "luminance": 0.3783
}

Semantic roles & 50–950 ramp

primary
#AA9AEE
secondary
#EDF2D9
accent
#D312AE
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA9AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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