#AA56CD#AA56CD

#AA56CD is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.4% C 0.188 H 314.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AA56CD
RGBrgb(170, 86, 205)
HSLhsl(282, 54%, 57%)
HSVhsv(282, 58%, 80%)
CMYKcmyk(17.1%, 58%, 0%, 19.6%)
CIE-LABlab(51.39, 53.40, -47.68)
CIE-LCHlch(51.39, 71.59, 318.24°)
OKLaboklab(60.37% 0.1326 -0.1335)
OKLCHoklch(60.37% 0.188 314.8)
XYZxyz(30.9230, 19.6104, 59.9020)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56CD #79CD56
analogous
#6F56CD #AA56CD #CD56B5
triadic
#AA56CD #CDAA56 #56CDAA
tetradic
#AA56CD #CD6F56 #79CD56 #56B5CD
square
#AA56CD #CD6F56 #79CD56 #56B5CD
split-complementary
#AA56CD #B5CD56 #56CD6F
monochromatic
#672682 #8D34B1 #AA56CD #C285DB #DAB4E9

Accessibility & contrast

On white

4.27
#AA56CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AA56CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56CD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56CD#FFFFFF#000000##000000
##AA56CD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3476D1
Deuteranopia (green-blind)
#547DCA
Tritanopia (blue-blind)
#A76A89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa56cd;
/* rgb */ color: rgb(170, 86, 205);
/* oklch */ color: oklch(60.4% 0.188 314.8);
Tailwind
colors: {
  custom: {
    50: '#c68add',
    500: '#aa56cd',
    950: '#000000',
  },
}
SCSS
$custom: #aa56cd;
$custom-light: #c68add;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56cd",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 282.353,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6037,
    "c": 0.18813,
    "h": 314.8
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

primary
#AA56CD
secondary
#B5D8A7
accent
#DE4A76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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