#AB4CB9#AB4CB9

#AB4CB9 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.1% C 0.184 H 322.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB4CB9
RGBrgb(171, 76, 185)
HSLhsl(292, 44%, 51%)
HSVhsv(292, 59%, 73%)
CMYKcmyk(7.6%, 58.9%, 0%, 27.5%)
CIE-LABlab(48.67, 54.46, -40.45)
CIE-LCHlch(48.67, 67.83, 323.40°)
OKLaboklab(58.07% 0.1456 -0.1123)
OKLCHoklch(58.07% 0.184 322.3)
XYZxyz(28.1351, 17.3310, 47.7528)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CB9 #5AB94C
analogous
#744CB9 #AB4CB9 #B94C90
triadic
#AB4CB9 #B9AB4C #4CB9AB
tetradic
#AB4CB9 #B9744C #5AB94C #4C90B9
square
#AB4CB9 #B9744C #5AB94C #4C90B9
split-complementary
#AB4CB9 #90B94C #4CB974
monochromatic
#5C2764 #843890 #AB4CB9 #C078CA #D4A4DB

Accessibility & contrast

On white

4.70
#AB4CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AB4CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4CB9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CB9#FFFFFF#000000##FFFFFF
##AB4CB91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBC
Deuteranopia (green-blind)
#5A77B6
Tritanopia (blue-blind)
#AD5C7B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4cb9;
/* rgb */ color: rgb(171, 76, 185);
/* oklch */ color: oklch(58.1% 0.184 322.3);
Tailwind
colors: {
  custom: {
    50: '#c783ce',
    500: '#ab4cb9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cb9;
$custom-light: #c783ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cb9",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 292.294,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58065,
    "c": 0.18385,
    "h": 322.3
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#AB4CB9
secondary
#9FC898
accent
#D45465
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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