#AA56D3#AA56D3

#AA56D3 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.194 H 313.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AA56D3
RGBrgb(170, 86, 211)
HSLhsl(280, 59%, 58%)
HSVhsv(280, 59%, 83%)
CMYKcmyk(19.4%, 59.2%, 0%, 17.3%)
CIE-LABlab(51.73, 54.66, -50.57)
CIE-LCHlch(51.73, 74.47, 317.22°)
OKLaboklab(60.72% 0.1327 -0.1419)
OKLCHoklch(60.72% 0.194 313.1)
XYZxyz(31.6612, 19.9056, 63.7897)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56D3 #7FD356
analogous
#6B56D3 #AA56D3 #D356BD
triadic
#AA56D3 #D3AA56 #56D3AA
tetradic
#AA56D3 #D36B56 #7FD356 #56BDD3
square
#AA56D3 #D36B56 #7FD356 #56BDD3
split-complementary
#AA56D3 #BDD356 #56D36B
monochromatic
#69248B #8E31BB #AA56D3 #C287E0 #DBB7EC

Accessibility & contrast

On white

4.22
#AA56D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AA56D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56D3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56D3#FFFFFF#000000##000000
##AA56D31.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D77D7
Deuteranopia (green-blind)
#507DD0
Tritanopia (blue-blind)
#A66C8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa56d3;
/* rgb */ color: rgb(170, 86, 211);
/* oklch */ color: oklch(60.7% 0.194 313.1);
Tailwind
colors: {
  custom: {
    50: '#c68ae1',
    500: '#aa56d3',
    950: '#000000',
  },
}
SCSS
$custom: #aa56d3;
$custom-light: #c68ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56d3",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 280.32,
    "s": 58.685,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60724,
    "c": 0.19432,
    "h": 313.1
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#AA56D3
secondary
#BADBAA
accent
#E24679
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA56D3

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

Preview Lab → · Contrast checker → · Palette generator →

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