#AB56AE#AB56AE

#AB56AE is a mid, vivid purple. Relative luminance 0.184; OKLCH L 58.8% C 0.158 H 326.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB56AE
RGBrgb(171, 86, 174)
HSLhsl(298, 35%, 51%)
HSVhsv(298, 51%, 68%)
CMYKcmyk(1.7%, 50.6%, 0%, 31.8%)
CIE-LABlab(49.94, 47.51, -32.03)
CIE-LCHlch(49.94, 57.30, 326.01°)
OKLaboklab(58.82% 0.1309 -0.0881)
OKLCHoklch(58.82% 0.158 326.1)
XYZxyz(27.7618, 18.3710, 42.1198)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB56AE #59AE56
analogous
#7F56AE #AB56AE #AE5685
triadic
#AB56AE #AEAB56 #56AEAB
tetradic
#AB56AE #AE7F56 #59AE56 #5685AE
square
#AB56AE #AE7F56 #59AE56 #5685AE
split-complementary
#AB56AE #85AE56 #56AE7F
monochromatic
#5B2D5D #844086 #AB56AE #C07FC2 #D4A9D6

Accessibility & contrast

On white

4.49
#AB56AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#AB56AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB56AE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB56AE#FFFFFF#000000##000000
##AB56AE1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D70B1
Deuteranopia (green-blind)
#667BAB
Tritanopia (blue-blind)
#AF607A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab56ae;
/* rgb */ color: rgb(171, 86, 174);
/* oklch */ color: oklch(58.8% 0.158 326.1);
Tailwind
colors: {
  custom: {
    50: '#c689c6',
    500: '#ab56ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab56ae;
$custom-light: #c689c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab56ae",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 297.955,
    "s": 35.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.1578,
    "h": 326.1
  },
  "luminance": 0.18369
}

Semantic roles & 50–950 ramp

primary
#AB56AE
secondary
#9EC39C
accent
#CB5D60
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB56AE

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

Preview Lab → · Contrast checker → · Palette generator →

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