#AA56BD#AA56BD

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

Color values

HEX#AA56BD
RGBrgb(170, 86, 189)
HSLhsl(289, 44%, 54%)
HSVhsv(289, 54%, 74%)
CMYKcmyk(10.1%, 54.5%, 0%, 25.9%)
CIE-LABlab(50.54, 50.13, -39.82)
CIE-LCHlch(50.54, 64.02, 321.54°)
OKLaboklab(59.47% 0.1316 -0.1106)
OKLCHoklch(59.47% 0.172 319.9)
XYZxyz(29.0895, 18.8770, 50.2456)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56BD #69BD56
analogous
#7756BD #AA56BD #BD569D
triadic
#AA56BD #BDAA56 #56BDAA
tetradic
#AA56BD #BD7756 #69BD56 #569DBD
square
#AA56BD #BD7756 #69BD56 #569DBD
split-complementary
#AA56BD #9DBD56 #56BD77
monochromatic
#612B6E #883C9A #AA56BD #C082CE #D6AEDF

Accessibility & contrast

On white

4.40
#AA56BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA56BD#FFFFFF#000000##000000
##AA56BD1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272C0
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#AB6581
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa56bd;
/* rgb */ color: rgb(170, 86, 189);
/* oklch */ color: oklch(59.5% 0.172 319.9);
Tailwind
colors: {
  custom: {
    50: '#c689d1',
    500: '#aa56bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa56bd;
$custom-light: #c689d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56bd",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 288.932,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.17188,
    "h": 319.9
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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