#AA56C2#AA56C2

#AA56C2 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.7% C 0.177 H 318.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AA56C2
RGBrgb(170, 86, 194)
HSLhsl(287, 47%, 55%)
HSVhsv(287, 56%, 76%)
CMYKcmyk(12.4%, 55.7%, 0%, 23.9%)
CIE-LABlab(50.80, 51.13, -42.30)
CIE-LCHlch(50.80, 66.36, 320.40°)
OKLaboklab(59.75% 0.132 -0.1178)
OKLCHoklch(59.75% 0.177 318.3)
XYZxyz(29.6416, 19.0978, 53.1533)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56C2 #6EC256
analogous
#7456C2 #AA56C2 #C256A4
triadic
#AA56C2 #C2AA56 #56C2AA
tetradic
#AA56C2 #C27456 #6EC256 #56A4C2
square
#AA56C2 #C27456 #6EC256 #56A4C2
split-complementary
#AA56C2 #A4C256 #56C274
monochromatic
#632A74 #8A3AA1 #AA56C2 #C183D2 #D7B0E2

Accessibility & contrast

On white

4.36
#AA56C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AA56C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56C2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56C2#FFFFFF#000000##000000
##AA56C21.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#5B7CBF
Tritanopia (blue-blind)
#AA6784
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa56c2;
/* rgb */ color: rgb(170, 86, 194);
/* oklch */ color: oklch(59.7% 0.177 318.3);
Tailwind
colors: {
  custom: {
    50: '#c689d5',
    500: '#aa56c2',
    950: '#000000',
  },
}
SCSS
$custom: #aa56c2;
$custom-light: #c689d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56c2",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 286.667,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59745,
    "c": 0.17691,
    "h": 318.3
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#AA56C2
secondary
#ADD1A3
accent
#D7516F
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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