#AB56BD#AB56BD

#AB56BD is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.6% C 0.172 H 320.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB56BD
RGBrgb(171, 86, 189)
HSLhsl(290, 44%, 54%)
HSVhsv(290, 54%, 74%)
CMYKcmyk(9.5%, 54.5%, 0%, 25.9%)
CIE-LABlab(50.67, 50.40, -39.61)
CIE-LCHlch(50.67, 64.10, 321.84°)
OKLaboklab(59.6% 0.1328 -0.1099)
OKLCHoklch(59.6% 0.172 320.4)
XYZxyz(29.3066, 18.9889, 50.2557)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB56BD #68BD56
analogous
#7856BD #AB56BD #BD569C
triadic
#AB56BD #BDAB56 #56BDAB
tetradic
#AB56BD #BD7856 #68BD56 #569CBD
square
#AB56BD #BD7856 #68BD56 #569CBD
split-complementary
#AB56BD #9CBD56 #56BD78
monochromatic
#622B6E #893C9A #AB56BD #C182CE #D7AEDF

Accessibility & contrast

On white

4.38
#AB56BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AB56BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB56BD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB56BD#FFFFFF#000000##000000
##AB56BD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#AC6581
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab56bd;
/* rgb */ color: rgb(171, 86, 189);
/* oklch */ color: oklch(59.6% 0.172 320.4);
Tailwind
colors: {
  custom: {
    50: '#c689d1',
    500: '#ab56bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab56bd;
$custom-light: #c689d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab56bd",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 289.515,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.17239,
    "h": 320.4
  },
  "luminance": 0.18988
}

Semantic roles & 50–950 ramp

primary
#AB56BD
secondary
#A9CDA1
accent
#D4546A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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