#AB4BB8#AB4BB8

#AB4BB8 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.184 H 322.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB4BB8
RGBrgb(171, 75, 184)
HSLhsl(293, 43%, 51%)
HSVhsv(293, 59%, 72%)
CMYKcmyk(7.1%, 59.2%, 0%, 27.8%)
CIE-LABlab(48.45, 54.73, -40.22)
CIE-LCHlch(48.45, 67.92, 323.69°)
OKLaboklab(57.89% 0.1468 -0.1116)
OKLCHoklch(57.89% 0.184 322.7)
XYZxyz(27.9615, 17.1522, 47.1760)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BB8 #58B84B
analogous
#744BB8 #AB4BB8 #B84B8E
triadic
#AB4BB8 #B8AB4B #4BB8AB
tetradic
#AB4BB8 #B8744B #58B84B #4B8EB8
square
#AB4BB8 #B8744B #58B84B #4B8EB8
split-complementary
#AB4BB8 #8EB84B #4BB874
monochromatic
#5B2762 #84388E #AB4BB8 #BF77C9 #D4A3DB

Accessibility & contrast

On white

4.74
#AB4BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AB4BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BB8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BB8#FFFFFF#000000##FFFFFF
##AB4BB81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376CBB
Deuteranopia (green-blind)
#5977B5
Tritanopia (blue-blind)
#AD5B7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4bb8;
/* rgb */ color: rgb(171, 75, 184);
/* oklch */ color: oklch(57.9% 0.184 322.7);
Tailwind
colors: {
  custom: {
    50: '#c783ce',
    500: '#ab4bb8',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bb8;
$custom-light: #c783ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bb8",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 292.844,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57885,
    "c": 0.1844,
    "h": 322.7
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#AB4BB8
secondary
#9DC897
accent
#D35564
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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