#AA9CDC#AA9CDC

#AA9CDC is a light, moderate violet. Relative luminance 0.375; OKLCH L 72.8% C 0.093 H 294.0°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#AA9CDC
RGBrgb(170, 156, 220)
HSLhsl(253, 48%, 74%)
HSVhsv(253, 29%, 86%)
CMYKcmyk(22.7%, 29.1%, 0%, 13.7%)
CIE-LABlab(67.64, 18.43, -30.64)
CIE-LCHlch(67.64, 35.75, 301.03°)
OKLaboklab(72.82% 0.0377 -0.0845)
OKLCHoklch(72.82% 0.093 294)
XYZxyz(41.3813, 37.4898, 72.7524)
Luminance0.3749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9CDC #CEDC9C
analogous
#9CAEDC #AA9CDC #CA9CDC
triadic
#AA9CDC #DCAA9C #9CDCAA
tetradic
#AA9CDC #DC9CAE #CEDC9C #9CDCCA
square
#AA9CDC #DC9CAE #CEDC9C #9CDCCA
split-complementary
#AA9CDC #DCCA9C #AEDC9C
monochromatic
#5D42BB #836FCC #AA9CDC #D1C9EC #ECE8F7

Accessibility & contrast

On white

2.47
#AA9CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#AA9CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9CDC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9CDC#FFFFFF#000000##000000
##AA9CDC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA5DF
Deuteranopia (green-blind)
#8EA4DA
Tritanopia (blue-blind)
#A0A6B3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa9cdc;
/* rgb */ color: rgb(170, 156, 220);
/* oklch */ color: oklch(72.8% 0.093 294.0);
Tailwind
colors: {
  custom: {
    50: '#c4b9e7',
    500: '#aa9cdc',
    950: '#000000',
  },
}
SCSS
$custom: #aa9cdc;
$custom-light: #c4b9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9cdc",
  "rgb": {
    "r": 170,
    "g": 156,
    "b": 220
  },
  "hsl": {
    "h": 253.125,
    "s": 47.761,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72816,
    "c": 0.09255,
    "h": 294
  },
  "luminance": 0.3749
}

Semantic roles & 50–950 ramp

primary
#AA9CDC
secondary
#EAEEDD
accent
#BB2A9B
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA9CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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