#AA56C8#AA56C8

#AA56C8 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.1% C 0.183 H 316.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AA56C8
RGBrgb(170, 86, 200)
HSLhsl(284, 51%, 56%)
HSVhsv(284, 57%, 78%)
CMYKcmyk(15%, 57%, 0%, 21.6%)
CIE-LABlab(51.12, 52.36, -45.25)
CIE-LCHlch(51.12, 69.20, 319.17°)
OKLaboklab(60.08% 0.1324 -0.1264)
OKLCHoklch(60.08% 0.183 316.3)
XYZxyz(30.3291, 19.3728, 56.7741)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56C8 #74C856
analogous
#7156C8 #AA56C8 #C856AD
triadic
#AA56C8 #C8AA56 #56C8AA
tetradic
#AA56C8 #C87156 #74C856 #56ADC8
square
#AA56C8 #C87156 #74C856 #56ADC8
split-complementary
#AA56C8 #ADC856 #56C871
monochromatic
#66287B #8B37AA #AA56C8 #C184D7 #D8B2E6

Accessibility & contrast

On white

4.31
#AA56C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AA56C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56C8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56C8#FFFFFF#000000##000000
##AA56C81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3975CC
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#A96987
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa56c8;
/* rgb */ color: rgb(170, 86, 200);
/* oklch */ color: oklch(60.1% 0.183 316.3);
Tailwind
colors: {
  custom: {
    50: '#c68ad9',
    500: '#aa56c8',
    950: '#000000',
  },
}
SCSS
$custom: #aa56c8;
$custom-light: #c68ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56c8",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 284.211,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60082,
    "c": 0.18301,
    "h": 316.3
  },
  "luminance": 0.19372
}

Semantic roles & 50–950 ramp

primary
#AA56C8
secondary
#B2D4A5
accent
#DA4D73
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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