#AA78BC#AA78BC

#AA78BC is a light, moderate purple. Relative luminance 0.256; OKLCH L 64.8% C 0.113 H 316.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AA78BC
RGBrgb(170, 120, 188)
HSLhsl(284, 34%, 60%)
HSVhsv(284, 36%, 74%)
CMYKcmyk(9.6%, 36.2%, 0%, 26.3%)
CIE-LABlab(57.67, 31.65, -28.11)
CIE-LCHlch(57.67, 42.33, 318.38°)
OKLaboklab(64.77% 0.0823 -0.0771)
OKLCHoklch(64.77% 0.113 316.8)
XYZxyz(32.3698, 25.6106, 50.8054)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78BC #8ABC78
analogous
#8878BC #AA78BC #BC78AC
triadic
#AA78BC #BCAA78 #78BCAA
tetradic
#AA78BC #BC8878 #8ABC78 #78ACBC
square
#AA78BC #BC8878 #8ABC78 #78ACBC
split-complementary
#AA78BC #ACBC78 #78BC88
monochromatic
#6C3E7C #8F52A5 #AA78BC #C4A1D0 #DECAE5

Accessibility & contrast

On white

3.43
#AA78BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#AA78BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78BC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78BC#FFFFFF#000000##000000
##AA78BC1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa78bc;
/* rgb */ color: rgb(170, 120, 188);
/* oklch */ color: oklch(64.8% 0.113 316.8);
Tailwind
colors: {
  custom: {
    50: '#c4a0d0',
    500: '#aa78bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa78bc;
$custom-light: #c4a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78bc",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 284.118,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64771,
    "c": 0.11277,
    "h": 316.8
  },
  "luminance": 0.2561
}

Semantic roles & 50–950 ramp

primary
#AA78BC
secondary
#C2D5BB
accent
#AC3958
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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