#AA9ECB#AA9ECB

#AA9ECB is a light, moderate violet. Relative luminance 0.373; OKLCH L 72.5% C 0.066 H 297.0°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#AA9ECB
RGBrgb(170, 158, 203)
HSLhsl(256, 30%, 71%)
HSVhsv(256, 22%, 80%)
CMYKcmyk(16.3%, 22.2%, 0%, 20.4%)
CIE-LABlab(67.51, 13.43, -21.43)
CIE-LCHlch(67.51, 25.29, 302.06°)
OKLaboklab(72.5% 0.0298 -0.0585)
OKLCHoklch(72.5% 0.066 297)
XYZxyz(39.5816, 37.3114, 61.6049)
Luminance0.3731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9ECB #BFCB9E
analogous
#9EA8CB #AA9ECB #C09ECB
triadic
#AA9ECB #CBAA9E #9ECBAA
tetradic
#AA9ECB #CB9EA8 #BFCB9E #9ECBC0
square
#AA9ECB #CB9EA8 #BFCB9E #9ECBC0
split-complementary
#AA9ECB #CBC09E #A8CB9E
monochromatic
#66539B #8776B6 #AA9ECB #CDC6E0 #EEEBF4

Accessibility & contrast

On white

2.48
#AA9ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#AA9ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9ECB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9ECB#FFFFFF#000000##000000
##AA9ECB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CD
Deuteranopia (green-blind)
#96A4CA
Tritanopia (blue-blind)
#A4A5AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aa9ecb;
/* rgb */ color: rgb(170, 158, 203);
/* oklch */ color: oklch(72.5% 0.066 297.0);
Tailwind
colors: {
  custom: {
    50: '#c3badb',
    500: '#aa9ecb',
    950: '#000000',
  },
}
SCSS
$custom: #aa9ecb;
$custom-light: #c3badb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9ecb",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 203
  },
  "hsl": {
    "h": 256,
    "s": 30.201,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72503,
    "c": 0.06564,
    "h": 297
  },
  "luminance": 0.37312
}

Semantic roles & 50–950 ramp

primary
#AA9ECB
secondary
#E5E8DC
accent
#A93D8C
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#121115
muted
#818083

Preview Lab

Preview with #AA9ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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