#AA9EC2#AA9EC2

#AA9EC2 is a light, muted violet. Relative luminance 0.369; OKLCH L 72.2% C 0.053 H 300.3°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#AA9EC2
RGBrgb(170, 158, 194)
HSLhsl(260, 23%, 69%)
HSVhsv(260, 19%, 76%)
CMYKcmyk(12.4%, 18.6%, 0%, 23.9%)
CIE-LABlab(67.20, 11.47, -16.91)
CIE-LCHlch(67.20, 20.43, 304.14°)
OKLaboklab(72.16% 0.0268 -0.0459)
OKLCHoklch(72.16% 0.053 300.3)
XYZxyz(38.5401, 36.8948, 56.1195)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9EC2 #B6C29E
analogous
#9EA4C2 #AA9EC2 #BC9EC2
triadic
#AA9EC2 #C2AA9E #9EC2AA
tetradic
#AA9EC2 #C29EA4 #B6C29E #9EC2BC
square
#AA9EC2 #C29EA4 #B6C29E #9EC2BC
split-complementary
#AA9EC2 #C2BC9E #A4C29E
monochromatic
#6A598D #8978AA #AA9EC2 #CBC4DA #ECE9F1

Accessibility & contrast

On white

2.51
#AA9EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#AA9EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9EC2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9EC2#FFFFFF#000000##000000
##AA9EC21.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A3C4
Deuteranopia (green-blind)
#99A3C1
Tritanopia (blue-blind)
#A6A3AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aa9ec2;
/* rgb */ color: rgb(170, 158, 194);
/* oklch */ color: oklch(72.2% 0.053 300.3);
Tailwind
colors: {
  custom: {
    50: '#c3bad4',
    500: '#aa9ec2',
    950: '#000000',
  },
}
SCSS
$custom: #aa9ec2;
$custom-light: #c3bad4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9ec2",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 194
  },
  "hsl": {
    "h": 260,
    "s": 22.785,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72158,
    "c": 0.05313,
    "h": 300.3
  },
  "luminance": 0.36895
}

Semantic roles & 50–950 ramp

primary
#AA9EC2
secondary
#E0E3D9
accent
#A14482
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #AA9EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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