#AA56CE#AA56CE

#AA56CE is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.4% C 0.189 H 314.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AA56CE
RGBrgb(170, 86, 206)
HSLhsl(282, 55%, 57%)
HSVhsv(282, 58%, 81%)
CMYKcmyk(17.5%, 58.3%, 0%, 19.2%)
CIE-LABlab(51.45, 53.61, -48.17)
CIE-LCHlch(51.45, 72.07, 318.06°)
OKLaboklab(60.43% 0.1326 -0.1349)
OKLCHoklch(60.43% 0.189 314.5)
XYZxyz(31.0441, 19.6588, 60.5398)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56CE #7ACE56
analogous
#6E56CE #AA56CE #CE56B6
triadic
#AA56CE #CEAA56 #56CEAA
tetradic
#AA56CE #CE6E56 #7ACE56 #56B6CE
square
#AA56CE #CE6E56 #7ACE56 #56B6CE
split-complementary
#AA56CE #B6CE56 #56CE6E
monochromatic
#672683 #8D34B3 #AA56CE #C285DC #DAB5EA

Accessibility & contrast

On white

4.26
#AA56CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AA56CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56CE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56CE#FFFFFF#000000##000000
##AA56CE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D2
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#A76B8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa56ce;
/* rgb */ color: rgb(170, 86, 206);
/* oklch */ color: oklch(60.4% 0.189 314.5);
Tailwind
colors: {
  custom: {
    50: '#c68add',
    500: '#aa56ce',
    950: '#000000',
  },
}
SCSS
$custom: #aa56ce;
$custom-light: #c68add;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56ce",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 282,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60429,
    "c": 0.18916,
    "h": 314.5
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#AA56CE
secondary
#B6D8A8
accent
#DE4976
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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