#AA56BE#AA56BE

#AA56BE is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.5% C 0.173 H 319.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AA56BE
RGBrgb(170, 86, 190)
HSLhsl(288, 44%, 54%)
HSVhsv(288, 55%, 75%)
CMYKcmyk(10.5%, 54.7%, 0%, 25.5%)
CIE-LABlab(50.59, 50.33, -40.32)
CIE-LCHlch(50.59, 64.49, 321.30°)
OKLaboklab(59.52% 0.1317 -0.112)
OKLCHoklch(59.52% 0.173 319.6)
XYZxyz(29.1984, 18.9205, 50.8192)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56BE #6ABE56
analogous
#7656BE #AA56BE #BE569E
triadic
#AA56BE #BEAA56 #56BEAA
tetradic
#AA56BE #BE7656 #6ABE56 #569EBE
square
#AA56BE #BE7656 #6ABE56 #569EBE
split-complementary
#AA56BE #9EBE56 #56BE76
monochromatic
#622B6F #893C9B #AA56BE #C082CF #D6AEE0

Accessibility & contrast

On white

4.39
#AA56BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AA56BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56BE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56BE#FFFFFF#000000##000000
##AA56BE1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C1
Deuteranopia (green-blind)
#5D7BBB
Tritanopia (blue-blind)
#AB6582
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa56be;
/* rgb */ color: rgb(170, 86, 190);
/* oklch */ color: oklch(59.5% 0.173 319.6);
Tailwind
colors: {
  custom: {
    50: '#c689d2',
    500: '#aa56be',
    950: '#000000',
  },
}
SCSS
$custom: #aa56be;
$custom-light: #c689d2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56be",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 288.462,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59525,
    "c": 0.17288,
    "h": 319.6
  },
  "luminance": 0.18919
}

Semantic roles & 50–950 ramp

primary
#AA56BE
secondary
#AACEA2
accent
#D4546C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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