#AA56B2#AA56B2

#AA56B2 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 58.9% C 0.161 H 324.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AA56B2
RGBrgb(170, 86, 178)
HSLhsl(295, 37%, 52%)
HSVhsv(295, 52%, 70%)
CMYKcmyk(4.5%, 51.7%, 0%, 30.2%)
CIE-LABlab(50.00, 47.98, -34.29)
CIE-LCHlch(50.00, 58.97, 324.45°)
OKLaboklab(58.89% 0.1303 -0.0946)
OKLCHoklch(58.89% 0.161 324)
XYZxyz(27.9405, 18.4173, 44.1940)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56B2 #5EB256
analogous
#7C56B2 #AA56B2 #B2568C
triadic
#AA56B2 #B2AA56 #56B2AA
tetradic
#AA56B2 #B27C56 #5EB256 #568CB2
square
#AA56B2 #B27C56 #5EB256 #568CB2
split-complementary
#AA56B2 #8CB256 #56B27C
monochromatic
#5D2C61 #853F8B #AA56B2 #BF80C5 #D4AAD8

Accessibility & contrast

On white

4.48
#AA56B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AA56B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56B2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56B2#FFFFFF#000000##000000
##AA56B21.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#647AAF
Tritanopia (blue-blind)
#AD617C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa56b2;
/* rgb */ color: rgb(170, 86, 178);
/* oklch */ color: oklch(58.9% 0.161 324.0);
Tailwind
colors: {
  custom: {
    50: '#c589c9',
    500: '#aa56b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa56b2;
$custom-light: #c589c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56b2",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 294.783,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58893,
    "c": 0.16104,
    "h": 324
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#AA56B2
secondary
#A1C69E
accent
#CD5A64
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AA56B2

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

Preview Lab → · Contrast checker → · Palette generator →

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