#AA78BB#AA78BB

#AA78BB is a light, moderate purple. Relative luminance 0.256; OKLCH L 64.7% C 0.112 H 317.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA78BB
RGBrgb(170, 120, 187)
HSLhsl(285, 33%, 60%)
HSVhsv(285, 36%, 73%)
CMYKcmyk(9.1%, 35.8%, 0%, 26.7%)
CIE-LABlab(57.62, 31.44, -27.61)
CIE-LCHlch(57.62, 41.84, 318.71°)
OKLaboklab(64.73% 0.082 -0.0757)
OKLCHoklch(64.73% 0.112 317.3)
XYZxyz(32.2624, 25.5676, 50.2396)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78BB #89BB78
analogous
#8878BB #AA78BB #BB78AB
triadic
#AA78BB #BBAA78 #78BBAA
tetradic
#AA78BB #BB8878 #89BB78 #78ABBB
square
#AA78BB #BB8878 #89BB78 #78ABBB
split-complementary
#AA78BB #ABBB78 #78BB88
monochromatic
#6B3E7B #8F52A3 #AA78BB #C4A1D0 #DDC9E4

Accessibility & contrast

On white

3.44
#AA78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AA78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78BB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78BB#FFFFFF#000000##000000
##AA78BB1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BE
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#AA8091
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #aa78bb;
/* rgb */ color: rgb(170, 120, 187);
/* oklch */ color: oklch(64.7% 0.112 317.3);
Tailwind
colors: {
  custom: {
    50: '#c49fcf',
    500: '#aa78bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa78bb;
$custom-light: #c49fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78bb",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 284.776,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64727,
    "c": 0.11161,
    "h": 317.3
  },
  "luminance": 0.25567
}

Semantic roles & 50–950 ramp

primary
#AA78BB
secondary
#C1D4BB
accent
#AC3A57
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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