#AA56BC#AA56BC

#AA56BC is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.4% C 0.171 H 320.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AA56BC
RGBrgb(170, 86, 188)
HSLhsl(289, 43%, 54%)
HSVhsv(289, 54%, 74%)
CMYKcmyk(9.6%, 54.3%, 0%, 26.3%)
CIE-LABlab(50.49, 49.93, -39.32)
CIE-LCHlch(50.49, 63.56, 321.78°)
OKLaboklab(59.42% 0.1315 -0.1091)
OKLCHoklch(59.42% 0.171 320.3)
XYZxyz(28.9814, 18.8337, 49.6759)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56BC #68BC56
analogous
#7756BC #AA56BC #BC569B
triadic
#AA56BC #BCAA56 #56BCAA
tetradic
#AA56BC #BC7756 #68BC56 #569BBC
square
#AA56BC #BC7756 #68BC56 #569BBC
split-complementary
#AA56BC #9BBC56 #56BC77
monochromatic
#612B6D #883C98 #AA56BC #C082CD #D6AEDF

Accessibility & contrast

On white

4.41
#AA56BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AA56BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56BC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56BC#FFFFFF#000000##000000
##AA56BC1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BF
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#AB6581
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa56bc;
/* rgb */ color: rgb(170, 86, 188);
/* oklch */ color: oklch(59.4% 0.171 320.3);
Tailwind
colors: {
  custom: {
    50: '#c689d0',
    500: '#aa56bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa56bc;
$custom-light: #c689d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56bc",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 289.412,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59417,
    "c": 0.17088,
    "h": 320.3
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#AA56BC
secondary
#A9CDA1
accent
#D3556B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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