#AB56D0#AB56D0

#AB56D0 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.192 H 314.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AB56D0
RGBrgb(171, 86, 208)
HSLhsl(282, 56%, 58%)
HSVhsv(282, 59%, 82%)
CMYKcmyk(17.8%, 58.7%, 0%, 18.4%)
CIE-LABlab(51.69, 54.28, -48.92)
CIE-LCHlch(51.69, 73.07, 317.97°)
OKLaboklab(60.67% 0.1339 -0.1371)
OKLCHoklch(60.67% 0.192 314.3)
XYZxyz(31.5057, 19.8685, 61.8377)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB56D0 #7BD056
analogous
#6E56D0 #AB56D0 #D056B8
triadic
#AB56D0 #D0AB56 #56D0AB
tetradic
#AB56D0 #D06E56 #7BD056 #56B8D0
square
#AB56D0 #D06E56 #7BD056 #56B8D0
split-complementary
#AB56D0 #B8D056 #56D06E
monochromatic
#692586 #8E33B6 #AB56D0 #C386DD #DBB6EB

Accessibility & contrast

On white

4.22
#AB56D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AB56D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB56D0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB56D0#FFFFFF#000000##000000
##AB56D01.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3176D4
Deuteranopia (green-blind)
#537DCD
Tritanopia (blue-blind)
#A86B8B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab56d0;
/* rgb */ color: rgb(171, 86, 208);
/* oklch */ color: oklch(60.7% 0.192 314.3);
Tailwind
colors: {
  custom: {
    50: '#c78adf',
    500: '#ab56d0',
    950: '#000000',
  },
}
SCSS
$custom: #ab56d0;
$custom-light: #c78adf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab56d0",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 208
  },
  "hsl": {
    "h": 281.803,
    "s": 56.481,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.19162,
    "h": 314.3
  },
  "luminance": 0.19868
}

Semantic roles & 50–950 ramp

primary
#AB56D0
secondary
#B7D9A8
accent
#E04876
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB56D0

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

Preview Lab → · Contrast checker → · Palette generator →

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