#AB56C3#AB56C3

#AB56C3 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.9% C 0.178 H 318.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB56C3
RGBrgb(171, 86, 195)
HSLhsl(287, 48%, 55%)
HSVhsv(287, 56%, 76%)
CMYKcmyk(12.3%, 55.9%, 0%, 23.5%)
CIE-LABlab(50.98, 51.60, -42.58)
CIE-LCHlch(50.98, 66.90, 320.47°)
OKLaboklab(59.92% 0.1333 -0.1186)
OKLCHoklch(59.92% 0.178 318.3)
XYZxyz(29.9714, 19.2548, 53.7570)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB56C3 #6EC356
analogous
#7556C3 #AB56C3 #C356A4
triadic
#AB56C3 #C3AB56 #56C3AB
tetradic
#AB56C3 #C37556 #6EC356 #56A4C3
square
#AB56C3 #C37556 #6EC356 #56A4C3
split-complementary
#AB56C3 #A4C356 #56C375
monochromatic
#642A75 #8B3AA2 #AB56C3 #C183D3 #D8B0E3

Accessibility & contrast

On white

4.33
#AB56C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AB56C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB56C3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB56C3#FFFFFF#000000##000000
##AB56C31.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E74C7
Deuteranopia (green-blind)
#5B7CC0
Tritanopia (blue-blind)
#AB6784
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab56c3;
/* rgb */ color: rgb(171, 86, 195);
/* oklch */ color: oklch(59.9% 0.178 318.3);
Tailwind
colors: {
  custom: {
    50: '#c689d5',
    500: '#ab56c3',
    950: '#000000',
  },
}
SCSS
$custom: #ab56c3;
$custom-light: #c689d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab56c3",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 195
  },
  "hsl": {
    "h": 286.789,
    "s": 47.598,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.17839,
    "h": 318.3
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#AB56C3
secondary
#AED1A4
accent
#D7516E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB56C3

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

Preview Lab → · Contrast checker → · Palette generator →

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