#AB4CB8#AB4CB8

#AB4CB8 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.183 H 322.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AB4CB8
RGBrgb(171, 76, 184)
HSLhsl(293, 43%, 51%)
HSVhsv(293, 59%, 72%)
CMYKcmyk(7.1%, 58.7%, 0%, 27.8%)
CIE-LABlab(48.62, 54.27, -39.95)
CIE-LCHlch(48.62, 67.38, 323.64°)
OKLaboklab(58.01% 0.1455 -0.1109)
OKLCHoklch(58.01% 0.183 322.7)
XYZxyz(28.0299, 17.2889, 47.1988)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CB8 #59B84C
analogous
#754CB8 #AB4CB8 #B84C8F
triadic
#AB4CB8 #B8AB4C #4CB8AB
tetradic
#AB4CB8 #B8754C #59B84C #4C8FB8
square
#AB4CB8 #B8754C #59B84C #4C8FB8
split-complementary
#AB4CB8 #8FB84C #4CB875
monochromatic
#5B2763 #84388E #AB4CB8 #C078C9 #D4A4DB

Accessibility & contrast

On white

4.71
#AB4CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AB4CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4CB8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CB8#FFFFFF#000000##FFFFFF
##AB4CB81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBB
Deuteranopia (green-blind)
#5A77B5
Tritanopia (blue-blind)
#AD5C7B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4cb8;
/* rgb */ color: rgb(171, 76, 184);
/* oklch */ color: oklch(58.0% 0.183 322.7);
Tailwind
colors: {
  custom: {
    50: '#c783ce',
    500: '#ab4cb8',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cb8;
$custom-light: #c783ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cb8",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 184
  },
  "hsl": {
    "h": 292.778,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.18292,
    "h": 322.7
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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