#AA78BD#AA78BD

#AA78BD is a light, moderate purple. Relative luminance 0.257; OKLCH L 64.8% C 0.114 H 316.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AA78BD
RGBrgb(170, 120, 189)
HSLhsl(283, 34%, 61%)
HSVhsv(283, 37%, 74%)
CMYKcmyk(10.1%, 36.5%, 0%, 25.9%)
CIE-LABlab(57.71, 31.86, -28.62)
CIE-LCHlch(57.71, 42.82, 318.06°)
OKLaboklab(64.82% 0.0825 -0.0786)
OKLCHoklch(64.82% 0.114 316.4)
XYZxyz(32.4780, 25.6539, 51.3751)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78BD #8BBD78
analogous
#8778BD #AA78BD #BD78AD
triadic
#AA78BD #BDAA78 #78BDAA
tetradic
#AA78BD #BD8778 #8BBD78 #78ADBD
square
#AA78BD #BD8778 #8BBD78 #78ADBD
split-complementary
#AA78BD #ADBD78 #78BD87
monochromatic
#6C3D7D #8F51A6 #AA78BD #C4A1D1 #DECAE5

Accessibility & contrast

On white

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

On black

6.13
#AA78BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78BD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78BD#FFFFFF#000000##000000
##AA78BD1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87C0
Deuteranopia (green-blind)
#7A8CBB
Tritanopia (blue-blind)
#A98192
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa78bd;
/* rgb */ color: rgb(170, 120, 189);
/* oklch */ color: oklch(64.8% 0.114 316.4);
Tailwind
colors: {
  custom: {
    50: '#c4a0d1',
    500: '#aa78bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa78bd;
$custom-light: #c4a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78bd",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 283.478,
    "s": 34.328,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64816,
    "c": 0.11393,
    "h": 316.4
  },
  "luminance": 0.25653
}

Semantic roles & 50–950 ramp

primary
#AA78BD
secondary
#C3D6BB
accent
#AD3859
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA78BD

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

Preview Lab → · Contrast checker → · Palette generator →

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