#AA56CB#AA56CB

#AA56CB is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.186 H 315.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AA56CB
RGBrgb(170, 86, 203)
HSLhsl(283, 53%, 57%)
HSVhsv(283, 58%, 80%)
CMYKcmyk(16.3%, 57.6%, 0%, 20.4%)
CIE-LABlab(51.28, 52.98, -46.71)
CIE-LCHlch(51.28, 70.63, 318.60°)
OKLaboklab(60.25% 0.1325 -0.1306)
OKLCHoklch(60.25% 0.186 315.4)
XYZxyz(30.6832, 19.5144, 58.6387)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56CB #77CB56
analogous
#7056CB #AA56CB #CB56B2
triadic
#AA56CB #CBAA56 #56CBAA
tetradic
#AA56CB #CB7056 #77CB56 #56B2CB
square
#AA56CB #CB7056 #77CB56 #56B2CB
split-complementary
#AA56CB #B2CB56 #56CB70
monochromatic
#67277F #8C36AE #AA56CB #C285D9 #D9B4E8

Accessibility & contrast

On white

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

On black

4.90
#AA56CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56CB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56CB#FFFFFF#000000##000000
##AA56CB1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#557DC8
Tritanopia (blue-blind)
#A86A88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa56cb;
/* rgb */ color: rgb(170, 86, 203);
/* oklch */ color: oklch(60.3% 0.186 315.4);
Tailwind
colors: {
  custom: {
    50: '#c68adb',
    500: '#aa56cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa56cb;
$custom-light: #c68adb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56cb",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 283.077,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60254,
    "c": 0.18608,
    "h": 315.4
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#AA56CB
secondary
#B4D6A6
accent
#DC4B74
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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