#AB56BF#AB56BF

#AB56BF is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.7% C 0.174 H 319.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB56BF
RGBrgb(171, 86, 191)
HSLhsl(289, 45%, 54%)
HSVhsv(289, 55%, 75%)
CMYKcmyk(10.5%, 55%, 0%, 25.1%)
CIE-LABlab(50.78, 50.80, -40.60)
CIE-LCHlch(50.78, 65.03, 321.36°)
OKLaboklab(59.7% 0.133 -0.1128)
OKLCHoklch(59.7% 0.174 319.7)
XYZxyz(29.5252, 19.0763, 51.4070)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB56BF #6ABF56
analogous
#7756BF #AB56BF #BF569F
triadic
#AB56BF #BFAB56 #56BFAB
tetradic
#AB56BF #BF7756 #6ABF56 #569FBF
square
#AB56BF #BF7756 #6ABF56 #569FBF
split-complementary
#AB56BF #9FBF56 #56BF77
monochromatic
#632A70 #8A3B9D #AB56BF #C182D0 #D7AFE1

Accessibility & contrast

On white

4.36
#AB56BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AB56BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB56BF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB56BF#FFFFFF#000000##000000
##AB56BF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#AC6682
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab56bf;
/* rgb */ color: rgb(171, 86, 191);
/* oklch */ color: oklch(59.7% 0.174 319.7);
Tailwind
colors: {
  custom: {
    50: '#c689d3',
    500: '#ab56bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab56bf;
$custom-light: #c689d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab56bf",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 288.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59704,
    "c": 0.17437,
    "h": 319.7
  },
  "luminance": 0.19075
}

Semantic roles & 50–950 ramp

primary
#AB56BF
secondary
#ABCFA2
accent
#D5536C
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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