#AA76BB#AA76BB

#AA76BB is a light, moderate purple. Relative luminance 0.251; OKLCH L 64.4% C 0.115 H 317.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AA76BB
RGBrgb(170, 118, 187)
HSLhsl(285, 34%, 60%)
HSVhsv(285, 37%, 73%)
CMYKcmyk(9.1%, 36.9%, 0%, 26.7%)
CIE-LABlab(57.16, 32.56, -28.32)
CIE-LCHlch(57.16, 43.15, 318.98°)
OKLaboklab(64.38% 0.085 -0.0777)
OKLCHoklch(64.38% 0.115 317.6)
XYZxyz(32.0244, 25.0916, 50.1603)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA76BB #87BB76
analogous
#8776BB #AA76BB #BB76AA
triadic
#AA76BB #BBAA76 #76BBAA
tetradic
#AA76BB #BB8776 #87BB76 #76AABB
square
#AA76BB #BB8776 #87BB76 #76AABB
split-complementary
#AA76BB #AABB76 #76BB87
monochromatic
#6B3D7A #8F51A3 #AA76BB #C39FCF #DDC8E4

Accessibility & contrast

On white

3.49
#AA76BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#AA76BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA76BB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA76BB#FFFFFF#000000##000000
##AA76BB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BE
Deuteranopia (green-blind)
#798BB9
Tritanopia (blue-blind)
#AA7F90
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa76bb;
/* rgb */ color: rgb(170, 118, 187);
/* oklch */ color: oklch(64.4% 0.115 317.6);
Tailwind
colors: {
  custom: {
    50: '#c49ecf',
    500: '#aa76bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa76bb;
$custom-light: #c49ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa76bb",
  "rgb": {
    "r": 170,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 285.217,
    "s": 33.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64379,
    "c": 0.1152,
    "h": 317.6
  },
  "luminance": 0.25091
}

Semantic roles & 50–950 ramp

primary
#AA76BB
secondary
#C0D4B9
accent
#CA5E79
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA76BB

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

Preview Lab → · Contrast checker → · Palette generator →

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