#AA56BF#AA56BF

#AA56BF is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.6% C 0.174 H 319.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AA56BF
RGBrgb(170, 86, 191)
HSLhsl(288, 45%, 54%)
HSVhsv(288, 55%, 75%)
CMYKcmyk(11%, 55%, 0%, 25.1%)
CIE-LABlab(50.65, 50.53, -40.82)
CIE-LCHlch(50.65, 64.96, 321.07°)
OKLaboklab(59.58% 0.1318 -0.1135)
OKLCHoklch(59.58% 0.174 319.3)
XYZxyz(29.3081, 18.9644, 51.3968)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56BF #6BBF56
analogous
#7656BF #AA56BF #BF56A0
triadic
#AA56BF #BFAA56 #56BFAA
tetradic
#AA56BF #BF7656 #6BBF56 #56A0BF
square
#AA56BF #BF7656 #6BBF56 #56A0BF
split-complementary
#AA56BF #A0BF56 #56BF76
monochromatic
#622A70 #893B9D #AA56BF #C082D0 #D7AFE1

Accessibility & contrast

On white

4.38
#AA56BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AA56BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56BF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56BF#FFFFFF#000000##000000
##AA56BF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#5D7CBC
Tritanopia (blue-blind)
#AA6682
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa56bf;
/* rgb */ color: rgb(170, 86, 191);
/* oklch */ color: oklch(59.6% 0.174 319.3);
Tailwind
colors: {
  custom: {
    50: '#c689d3',
    500: '#aa56bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa56bf;
$custom-light: #c689d3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56bf",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 288,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5958,
    "c": 0.17388,
    "h": 319.3
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

primary
#AA56BF
secondary
#ABCFA2
accent
#D5536D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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