#AB56B7#AB56B7

#AB56B7 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.3% C 0.166 H 322.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AB56B7
RGBrgb(171, 86, 183)
HSLhsl(293, 40%, 53%)
HSVhsv(293, 53%, 72%)
CMYKcmyk(6.6%, 53%, 0%, 28.2%)
CIE-LABlab(50.37, 49.22, -36.60)
CIE-LCHlch(50.37, 61.34, 323.37°)
OKLaboklab(59.28% 0.1321 -0.1012)
OKLCHoklch(59.28% 0.166 322.5)
XYZxyz(28.6687, 18.7337, 46.8964)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB56B7 #62B756
analogous
#7A56B7 #AB56B7 #B75693
triadic
#AB56B7 #B7AB56 #56B7AB
tetradic
#AB56B7 #B77A56 #62B756 #5693B7
square
#AB56B7 #B77A56 #62B756 #5693B7
split-complementary
#AB56B7 #93B756 #56B77A
monochromatic
#602C67 #873E92 #AB56B7 #C081C9 #D6ACDC

Accessibility & contrast

On white

4.42
#AB56B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AB56B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB56B7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB56B7#FFFFFF#000000##000000
##AB56B71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4772BA
Deuteranopia (green-blind)
#627BB4
Tritanopia (blue-blind)
#AD637E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab56b7;
/* rgb */ color: rgb(171, 86, 183);
/* oklch */ color: oklch(59.3% 0.166 322.5);
Tailwind
colors: {
  custom: {
    50: '#c689cd',
    500: '#ab56b7',
    950: '#000000',
  },
}
SCSS
$custom: #ab56b7;
$custom-light: #c689cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab56b7",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 183
  },
  "hsl": {
    "h": 292.577,
    "s": 40.249,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59277,
    "c": 0.16646,
    "h": 322.5
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#AB56B7
secondary
#A5C99F
accent
#D05867
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB56B7

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

Preview Lab → · Contrast checker → · Palette generator →

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