#AB56BE#AB56BE

#AB56BE is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.6% C 0.173 H 320.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AB56BE
RGBrgb(171, 86, 190)
HSLhsl(289, 44%, 54%)
HSVhsv(289, 55%, 75%)
CMYKcmyk(10%, 54.7%, 0%, 25.5%)
CIE-LABlab(50.73, 50.60, -40.11)
CIE-LCHlch(50.73, 64.57, 321.60°)
OKLaboklab(59.65% 0.1329 -0.1114)
OKLCHoklch(59.65% 0.173 320)
XYZxyz(29.4155, 19.0324, 50.8294)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB56BE #69BE56
analogous
#7756BE #AB56BE #BE569D
triadic
#AB56BE #BEAB56 #56BEAB
tetradic
#AB56BE #BE7756 #69BE56 #569DBE
square
#AB56BE #BE7756 #69BE56 #569DBE
split-complementary
#AB56BE #9DBE56 #56BE77
monochromatic
#622B6F #8A3C9B #AB56BE #C182CF #D7AEE0

Accessibility & contrast

On white

4.37
#AB56BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AB56BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB56BE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB56BE#FFFFFF#000000##000000
##AB56BE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C1
Deuteranopia (green-blind)
#5E7CBB
Tritanopia (blue-blind)
#AC6582
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab56be;
/* rgb */ color: rgb(171, 86, 190);
/* oklch */ color: oklch(59.6% 0.173 320.0);
Tailwind
colors: {
  custom: {
    50: '#c689d2',
    500: '#ab56be',
    950: '#000000',
  },
}
SCSS
$custom: #ab56be;
$custom-light: #c689d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab56be",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 289.038,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59649,
    "c": 0.17338,
    "h": 320
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#AB56BE
secondary
#AACEA2
accent
#D4546B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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