#AA7AAA#AA7AAA

#AA7AAA is a light, moderate purple. Relative luminance 0.254; OKLCH L 64.4% C 0.089 H 326.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AA7AAA
RGBrgb(170, 122, 170)
HSLhsl(300, 22%, 57%)
HSVhsv(300, 28%, 67%)
CMYKcmyk(0%, 28.2%, 0%, 33.3%)
CIE-LABlab(57.43, 26.88, -18.16)
CIE-LCHlch(57.43, 32.44, 325.95°)
OKLaboklab(64.36% 0.0743 -0.0491)
OKLCHoklch(64.36% 0.089 326.5)
XYZxyz(30.7921, 25.3684, 41.2970)
Luminance0.2537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7AAA #7AAA7A
analogous
#927AAA #AA7AAA #AA7A92
triadic
#AA7AAA #AAAA7A #7AAAAA
tetradic
#AA7AAA #AA927A #7AAA7A #7A92AA
square
#AA7AAA #AA927A #7AAA7A #7A92AA
split-complementary
#AA7AAA #92AA7A #7AAA92
monochromatic
#674267 #8D5A8D #AA7AAA #C29FC2 #DAC5DA

Accessibility & contrast

On white

3.46
#AA7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AA7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7AAA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7AAA#FFFFFF#000000##000000
##AA7AAA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786AC
Deuteranopia (green-blind)
#828CA8
Tritanopia (blue-blind)
#AD7E8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa7aaa;
/* rgb */ color: rgb(170, 122, 170);
/* oklch */ color: oklch(64.4% 0.089 326.5);
Tailwind
colors: {
  custom: {
    50: '#c4a1c3',
    500: '#aa7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #aa7aaa;
$custom-light: #c4a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7aaa",
  "rgb": {
    "r": 170,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64364,
    "c": 0.08905,
    "h": 326.5
  },
  "luminance": 0.25367
}

Semantic roles & 50–950 ramp

primary
#AA7AAA
secondary
#B6CAB6
accent
#BF6969
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130F12
muted
#827E81

Preview Lab

Preview with #AA7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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