#AB5BB1#AB5BB1

#AB5BB1 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.7% C 0.152 H 324.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AB5BB1
RGBrgb(171, 91, 177)
HSLhsl(296, 36%, 53%)
HSVhsv(296, 49%, 69%)
CMYKcmyk(3.4%, 48.6%, 0%, 30.6%)
CIE-LABlab(51.05, 45.52, -32.04)
CIE-LCHlch(51.05, 55.67, 324.85°)
OKLaboklab(59.69% 0.1243 -0.0882)
OKLCHoklch(59.69% 0.152 324.6)
XYZxyz(28.4708, 19.3158, 43.8151)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BB1 #61B15B
analogous
#805BB1 #AB5BB1 #B15B8C
triadic
#AB5BB1 #B1AB5B #5BB1AB
tetradic
#AB5BB1 #B1805B #61B15B #5B8CB1
square
#AB5BB1 #B1805B #61B15B #5B8CB1
split-complementary
#AB5BB1 #8CB15B #5BB180
monochromatic
#5F2F63 #87438C #AB5BB1 #C084C5 #D5AED8

Accessibility & contrast

On white

4.32
#AB5BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AB5BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BB1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BB1#FFFFFF#000000##000000
##AB5BB11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5173B4
Deuteranopia (green-blind)
#687DAE
Tritanopia (blue-blind)
#AE657E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab5bb1;
/* rgb */ color: rgb(171, 91, 177);
/* oklch */ color: oklch(59.7% 0.152 324.6);
Tailwind
colors: {
  custom: {
    50: '#c68cc8',
    500: '#ab5bb1',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bb1;
$custom-light: #c68cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bb1",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 295.814,
    "s": 35.537,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59686,
    "c": 0.15237,
    "h": 324.6
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#AB5BB1
secondary
#A4C7A1
accent
#CC5C64
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB5BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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