#AA56BA#AA56BA

#AA56BA is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.3% C 0.169 H 321.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AA56BA
RGBrgb(170, 86, 186)
HSLhsl(290, 42%, 53%)
HSVhsv(290, 54%, 73%)
CMYKcmyk(8.6%, 53.8%, 0%, 27.1%)
CIE-LABlab(50.39, 49.54, -38.32)
CIE-LCHlch(50.39, 62.63, 322.27°)
OKLaboklab(59.31% 0.1313 -0.1062)
OKLCHoklch(59.31% 0.169 321)
XYZxyz(28.7673, 18.7481, 48.5483)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56BA #66BA56
analogous
#7856BA #AA56BA #BA5698
triadic
#AA56BA #BAAA56 #56BAAA
tetradic
#AA56BA #BA7856 #66BA56 #5698BA
square
#AA56BA #BA7856 #66BA56 #5698BA
split-complementary
#AA56BA #98BA56 #56BA78
monochromatic
#602B6A #883D96 #AA56BA #C081CC #D6ADDD

Accessibility & contrast

On white

4.42
#AA56BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AA56BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56BA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56BA#FFFFFF#000000##000000
##AA56BA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#AB6480
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa56ba;
/* rgb */ color: rgb(170, 86, 186);
/* oklch */ color: oklch(59.3% 0.169 321.0);
Tailwind
colors: {
  custom: {
    50: '#c689cf',
    500: '#aa56ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa56ba;
$custom-light: #c689cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56ba",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 290.4,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5931,
    "c": 0.16889,
    "h": 321
  },
  "luminance": 0.18747
}

Semantic roles & 50–950 ramp

primary
#AA56BA
secondary
#A7CBA0
accent
#D2566A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA56BA

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

Preview Lab → · Contrast checker → · Palette generator →

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