#AA9AEC#AA9AEC

#AA9AEC is a light, moderate violet. Relative luminance 0.377; OKLCH L 73.2% C 0.118 H 292.2°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#AA9AEC
RGBrgb(170, 154, 236)
HSLhsl(252, 68%, 76%)
HSVhsv(252, 35%, 93%)
CMYKcmyk(28%, 34.7%, 0%, 7.5%)
CIE-LABlab(67.81, 23.39, -39.18)
CIE-LCHlch(67.81, 45.63, 300.84°)
OKLaboklab(73.16% 0.0445 -0.109)
OKLCHoklch(73.16% 0.118 292.2)
XYZxyz(43.2697, 37.7127, 84.3402)
Luminance0.3771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9AEC #DCEC9A
analogous
#9AB3EC #AA9AEC #D39AEC
triadic
#AA9AEC #ECAA9A #9AECAA
tetradic
#AA9AEC #EC9AB3 #DCEC9A #9AECD3
square
#AA9AEC #EC9AB3 #DCEC9A #9AECD3
split-complementary
#AA9AEC #ECD39A #B3EC9A
monochromatic
#5333D9 #7F66E2 #AA9AEC #D5CEF6 #E9E5FA

Accessibility & contrast

On white

2.46
#AA9AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#AA9AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9AEC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9AEC#FFFFFF#000000##000000
##AA9AEC1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6EF
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#9BA8B8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa9aec;
/* rgb */ color: rgb(170, 154, 236);
/* oklch */ color: oklch(73.2% 0.118 292.2);
Tailwind
colors: {
  custom: {
    50: '#c5b7f2',
    500: '#aa9aec',
    950: '#000000',
  },
}
SCSS
$custom: #aa9aec;
$custom-light: #c5b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9aec",
  "rgb": {
    "r": 170,
    "g": 154,
    "b": 236
  },
  "hsl": {
    "h": 251.707,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7316,
    "c": 0.11776,
    "h": 292.2
  },
  "luminance": 0.37713
}

Semantic roles & 50–950 ramp

primary
#AA9AEC
secondary
#EDF2D9
accent
#D015AC
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA9AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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