#AA56CA#AA56CA

#AA56CA is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.2% C 0.185 H 315.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AA56CA
RGBrgb(170, 86, 202)
HSLhsl(283, 52%, 56%)
HSVhsv(283, 57%, 79%)
CMYKcmyk(15.8%, 57.4%, 0%, 20.8%)
CIE-LABlab(51.23, 52.77, -46.23)
CIE-LCHlch(51.23, 70.16, 318.78°)
OKLaboklab(60.2% 0.1325 -0.1292)
OKLCHoklch(60.2% 0.185 315.7)
XYZxyz(30.5644, 19.4669, 58.0131)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56CA #76CA56
analogous
#7056CA #AA56CA #CA56B0
triadic
#AA56CA #CAAA56 #56CAAA
tetradic
#AA56CA #CA7056 #76CA56 #56B0CA
square
#AA56CA #CA7056 #76CA56 #56B0CA
split-complementary
#AA56CA #B0CA56 #56CA70
monochromatic
#66287E #8C36AD #AA56CA #C185D9 #D9B3E7

Accessibility & contrast

On white

4.29
#AA56CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AA56CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56CA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56CA#FFFFFF#000000##000000
##AA56CA1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#567CC7
Tritanopia (blue-blind)
#A86988
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa56ca;
/* rgb */ color: rgb(170, 86, 202);
/* oklch */ color: oklch(60.2% 0.185 315.7);
Tailwind
colors: {
  custom: {
    50: '#c68adb',
    500: '#aa56ca',
    950: '#000000',
  },
}
SCSS
$custom: #aa56ca;
$custom-light: #c68adb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56ca",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 283.448,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.18506,
    "h": 315.7
  },
  "luminance": 0.19466
}

Semantic roles & 50–950 ramp

primary
#AA56CA
secondary
#B3D6A6
accent
#DC4C74
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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