#AA7CAA#AA7CAA

#AA7CAA is a light, moderate purple. Relative luminance 0.259; OKLCH L 64.7% C 0.085 H 326.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AA7CAA
RGBrgb(170, 124, 170)
HSLhsl(300, 21%, 58%)
HSVhsv(300, 27%, 67%)
CMYKcmyk(0%, 27.1%, 0%, 33.3%)
CIE-LABlab(57.91, 25.75, -17.44)
CIE-LCHlch(57.91, 31.10, 325.89°)
OKLaboklab(64.73% 0.0712 -0.0471)
OKLCHoklch(64.73% 0.085 326.5)
XYZxyz(31.0402, 25.8646, 41.3797)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7CAA #7CAA7C
analogous
#937CAA #AA7CAA #AA7C93
triadic
#AA7CAA #AAAA7C #7CAAAA
tetradic
#AA7CAA #AA937C #7CAA7C #7C93AA
square
#AA7CAA #AA937C #7CAA7C #7C93AA
split-complementary
#AA7CAA #93AA7C #7CAA93
monochromatic
#684468 #8D5C8D #AA7CAA #C2A1C2 #DAC6DA

Accessibility & contrast

On white

3.40
#AA7CAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AA7CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7CAA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7CAA#FFFFFF#000000##000000
##AA7CAA1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AC
Deuteranopia (green-blind)
#848DA8
Tritanopia (blue-blind)
#AD808C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa7caa;
/* rgb */ color: rgb(170, 124, 170);
/* oklch */ color: oklch(64.7% 0.085 326.5);
Tailwind
colors: {
  custom: {
    50: '#c4a2c3',
    500: '#aa7caa',
    950: '#000000',
  },
}
SCSS
$custom: #aa7caa;
$custom-light: #c4a2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7caa",
  "rgb": {
    "r": 170,
    "g": 124,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 21.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64727,
    "c": 0.08532,
    "h": 326.5
  },
  "luminance": 0.25864
}

Semantic roles & 50–950 ramp

primary
#AA7CAA
secondary
#B8CAB8
accent
#BE6A6A
background
#FCFAFC
surface
#F8F3F8
border
#D1CDD1
text
#120F12
muted
#817F81

Preview Lab

Preview with #AA7CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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