#AA56BB#AA56BB

#AA56BB is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.4% C 0.170 H 320.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AA56BB
RGBrgb(170, 86, 187)
HSLhsl(290, 43%, 54%)
HSVhsv(290, 54%, 73%)
CMYKcmyk(9.1%, 54%, 0%, 26.7%)
CIE-LABlab(50.44, 49.73, -38.83)
CIE-LCHlch(50.44, 63.09, 322.02°)
OKLaboklab(59.36% 0.1314 -0.1077)
OKLCHoklch(59.36% 0.17 320.7)
XYZxyz(28.8739, 18.7907, 49.1101)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56BB #67BB56
analogous
#7756BB #AA56BB #BB5699
triadic
#AA56BB #BBAA56 #56BBAA
tetradic
#AA56BB #BB7756 #67BB56 #5699BB
square
#AA56BB #BB7756 #67BB56 #5699BB
split-complementary
#AA56BB #99BB56 #56BB77
monochromatic
#612B6B #883D97 #AA56BB #C082CD #D6ADDE

Accessibility & contrast

On white

4.41
#AA56BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AA56BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56BB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56BB#FFFFFF#000000##000000
##AA56BB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#5F7BB8
Tritanopia (blue-blind)
#AB6480
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa56bb;
/* rgb */ color: rgb(170, 86, 187);
/* oklch */ color: oklch(59.4% 0.170 320.7);
Tailwind
colors: {
  custom: {
    50: '#c689d0',
    500: '#aa56bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa56bb;
$custom-light: #c689d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56bb",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 289.901,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59364,
    "c": 0.16988,
    "h": 320.7
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

primary
#AA56BB
secondary
#A8CCA1
accent
#D2556A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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