#AA56CC#AA56CC

#AA56CC is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.3% C 0.187 H 315.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AA56CC
RGBrgb(170, 86, 204)
HSLhsl(283, 54%, 57%)
HSVhsv(283, 58%, 80%)
CMYKcmyk(16.7%, 57.8%, 0%, 20%)
CIE-LABlab(51.34, 53.19, -47.20)
CIE-LCHlch(51.34, 71.11, 318.42°)
OKLaboklab(60.31% 0.1326 -0.132)
OKLCHoklch(60.31% 0.187 315.1)
XYZxyz(30.8027, 19.5622, 59.2683)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56CC #78CC56
analogous
#6F56CC #AA56CC #CC56B3
triadic
#AA56CC #CCAA56 #56CCAA
tetradic
#AA56CC #CC6F56 #78CC56 #56B3CC
square
#AA56CC #CC6F56 #78CC56 #56B3CC
split-complementary
#AA56CC #B3CC56 #56CC6F
monochromatic
#672781 #8C35B0 #AA56CC #C285DA #D9B4E8

Accessibility & contrast

On white

4.28
#AA56CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AA56CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56CC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56CC#FFFFFF#000000##000000
##AA56CC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575D0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#A86A89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa56cc;
/* rgb */ color: rgb(170, 86, 204);
/* oklch */ color: oklch(60.3% 0.187 315.1);
Tailwind
colors: {
  custom: {
    50: '#c68adc',
    500: '#aa56cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa56cc;
$custom-light: #c68adc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56cc",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 282.712,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60312,
    "c": 0.1871,
    "h": 315.1
  },
  "luminance": 0.19561
}

Semantic roles & 50–950 ramp

primary
#AA56CC
secondary
#B5D7A7
accent
#DD4B75
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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