#AA9CEE#AA9CEE

#AA9CEE is a light, moderate violet. Relative luminance 0.385; OKLCH L 73.6% C 0.117 H 291.1°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#AA9CEE
RGBrgb(170, 156, 238)
HSLhsl(250, 71%, 77%)
HSVhsv(250, 34%, 93%)
CMYKcmyk(28.6%, 34.5%, 0%, 6.7%)
CIE-LABlab(68.38, 22.76, -39.38)
CIE-LCHlch(68.38, 45.48, 300.02°)
OKLaboklab(73.63% 0.0422 -0.1096)
OKLCHoklch(73.63% 0.117 291.1)
XYZxyz(43.8948, 38.4952, 85.9900)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9CEE #E0EE9C
analogous
#9CB7EE #AA9CEE #D39CEE
triadic
#AA9CEE #EEAA9C #9CEEAA
tetradic
#AA9CEE #EE9CB7 #E0EE9C #9CEED3
square
#AA9CEE #EE9CB7 #E0EE9C #9CEED3
split-complementary
#AA9CEE #EED39C #B7EE9C
monochromatic
#5034DC #7D68E5 #AA9CEE #D7D0F7 #E9E5FB

Accessibility & contrast

On white

2.41
#AA9CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#AA9CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9CEE
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9CEE#FFFFFF#000000##000000
##AA9CEE1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F1
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#9BAABA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aa9cee;
/* rgb */ color: rgb(170, 156, 238);
/* oklch */ color: oklch(73.6% 0.117 291.1);
Tailwind
colors: {
  custom: {
    50: '#c5b9f4',
    500: '#aa9cee',
    950: '#000000',
  },
}
SCSS
$custom: #aa9cee;
$custom-light: #c5b9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9cee",
  "rgb": {
    "r": 170,
    "g": 156,
    "b": 238
  },
  "hsl": {
    "h": 250.244,
    "s": 70.69,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73629,
    "c": 0.11746,
    "h": 291.1
  },
  "luminance": 0.38496
}

Semantic roles & 50–950 ramp

primary
#AA9CEE
secondary
#EEF2D9
accent
#D313B2
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA9CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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