#AB4BB7#AB4BB7

#AB4BB7 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.183 H 323.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AB4BB7
RGBrgb(171, 75, 183)
HSLhsl(293, 43%, 51%)
HSVhsv(293, 59%, 72%)
CMYKcmyk(6.6%, 59%, 0%, 28.2%)
CIE-LABlab(48.40, 54.54, -39.72)
CIE-LCHlch(48.40, 67.47, 323.94°)
OKLaboklab(57.83% 0.1467 -0.1102)
OKLCHoklch(57.83% 0.183 323.1)
XYZxyz(27.8571, 17.1104, 46.6259)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BB7 #57B74B
analogous
#754BB7 #AB4BB7 #B74B8D
triadic
#AB4BB7 #B7AB4B #4BB7AB
tetradic
#AB4BB7 #B7754B #57B74B #4B8DB7
square
#AB4BB7 #B7754B #57B74B #4B8DB7
split-complementary
#AB4BB7 #8DB74B #4BB775
monochromatic
#5A2761 #83388D #AB4BB7 #BF77C8 #D4A2DA

Accessibility & contrast

On white

4.75
#AB4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AB4BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BB7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BB7#FFFFFF#000000##FFFFFF
##AB4BB71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBA
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#AE5B7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4bb7;
/* rgb */ color: rgb(171, 75, 183);
/* oklch */ color: oklch(57.8% 0.183 323.1);
Tailwind
colors: {
  custom: {
    50: '#c783cd',
    500: '#ab4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bb7;
$custom-light: #c783cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bb7",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 293.333,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5783,
    "c": 0.18347,
    "h": 323.1
  },
  "luminance": 0.17109
}

Semantic roles & 50–950 ramp

primary
#AB4BB7
secondary
#9CC797
accent
#D35563
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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