#AA6AAA#AA6AAA

#AA6AAA is a mid, moderate purple. Relative luminance 0.218; OKLCH L 61.6% C 0.118 H 326.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AA6AAA
RGBrgb(170, 106, 170)
HSLhsl(300, 27%, 54%)
HSVhsv(300, 38%, 67%)
CMYKcmyk(0%, 37.6%, 0%, 33.3%)
CIE-LABlab(53.77, 35.83, -23.77)
CIE-LCHlch(53.77, 43.00, 326.43°)
OKLaboklab(61.59% 0.0993 -0.0647)
OKLCHoklch(61.59% 0.119 326.9)
XYZxyz(28.9867, 21.7576, 40.6952)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA6AAA #6AAA6A
analogous
#8A6AAA #AA6AAA #AA6A8A
triadic
#AA6AAA #AAAA6A #6AAAAA
tetradic
#AA6AAA #AA8A6A #6AAA6A #6A8AAA
square
#AA6AAA #AA8A6A #6AAA6A #6A8AAA
split-complementary
#AA6AAA #8AAA6A #6AAA8A
monochromatic
#623862 #894E89 #AA6AAA #C091C0 #D6B8D6

Accessibility & contrast

On white

3.92
#AA6AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AA6AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA6AAA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA6AAA#FFFFFF#000000##000000
##AA6AAA1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#657BAC
Deuteranopia (green-blind)
#7683A8
Tritanopia (blue-blind)
#AE7082
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa6aaa;
/* rgb */ color: rgb(170, 106, 170);
/* oklch */ color: oklch(61.6% 0.118 326.9);
Tailwind
colors: {
  custom: {
    50: '#c496c3',
    500: '#aa6aaa',
    950: '#000000',
  },
}
SCSS
$custom: #aa6aaa;
$custom-light: #c496c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa6aaa",
  "rgb": {
    "r": 170,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.1185,
    "h": 326.9
  },
  "luminance": 0.21756
}

Semantic roles & 50–950 ramp

primary
#AA6AAA
secondary
#AAC6AA
accent
#C46464
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #AA6AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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