#AA78BF#AA78BF

#AA78BF is a light, moderate purple. Relative luminance 0.257; OKLCH L 64.9% C 0.116 H 315.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AA78BF
RGBrgb(170, 120, 191)
HSLhsl(282, 36%, 61%)
HSVhsv(282, 37%, 75%)
CMYKcmyk(11%, 37.2%, 0%, 25.1%)
CIE-LABlab(57.79, 32.28, -29.63)
CIE-LCHlch(57.79, 43.82, 317.45°)
OKLaboklab(64.91% 0.083 -0.0815)
OKLCHoklch(64.91% 0.116 315.5)
XYZxyz(32.6966, 25.7413, 52.5263)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78BF #8DBF78
analogous
#8678BF #AA78BF #BF78B0
triadic
#AA78BF #BFAA78 #78BFAA
tetradic
#AA78BF #BF8678 #8DBF78 #78B0BF
square
#AA78BF #BF8678 #8DBF78 #78B0BF
split-complementary
#AA78BF #B0BF78 #78BF86
monochromatic
#6C3D80 #8F50A9 #AA78BF #C4A2D3 #DECBE6

Accessibility & contrast

On white

3.42
#AA78BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AA78BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78BF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78BF#FFFFFF#000000##000000
##AA78BF1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D88C2
Deuteranopia (green-blind)
#798CBD
Tritanopia (blue-blind)
#A98193
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa78bf;
/* rgb */ color: rgb(170, 120, 191);
/* oklch */ color: oklch(64.9% 0.116 315.5);
Tailwind
colors: {
  custom: {
    50: '#c4a0d2',
    500: '#aa78bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa78bf;
$custom-light: #c4a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78bf",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 282.254,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64907,
    "c": 0.11628,
    "h": 315.5
  },
  "luminance": 0.25741
}

Semantic roles & 50–950 ramp

primary
#AA78BF
secondary
#C4D7BC
accent
#AF375A
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AA78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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