#AB379B#AB379B

#AB379B is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.188 H 333.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AB379B
RGBrgb(171, 55, 155)
HSLhsl(308, 51%, 44%)
HSVhsv(308, 68%, 67%)
CMYKcmyk(0%, 67.8%, 9.4%, 32.9%)
CIE-LABlab(43.88, 58.24, -30.26)
CIE-LCHlch(43.88, 65.64, 332.54°)
OKLaboklab(54.09% 0.1686 -0.0827)
OKLCHoklch(54.09% 0.188 333.9)
XYZxyz(24.0773, 13.7588, 32.3916)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB379B #37AB47
analogous
#8137AB #AB379B #AB3761
triadic
#AB379B #9BAB37 #379BAB
tetradic
#AB379B #AB8137 #37AB47 #3761AB
square
#AB379B #AB8137 #37AB47 #3761AB
split-complementary
#AB379B #61AB37 #37AB81
monochromatic
#4E1947 #7D2871 #AB379B #C956B9 #D885CC

Accessibility & contrast

On white

5.60
#AB379B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AB379B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB379B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB379B#FFFFFF#000000##FFFFFF
##AB379B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9E
Deuteranopia (green-blind)
#5C6E98
Tritanopia (blue-blind)
#B34064
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab379b;
/* rgb */ color: rgb(171, 55, 155);
/* oklch */ color: oklch(54.1% 0.188 333.9);
Tailwind
colors: {
  custom: {
    50: '#c777b9',
    500: '#ab379b',
    950: '#000000',
  },
}
SCSS
$custom: #ab379b;
$custom-light: #c777b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab379b",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 308.276,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.18782,
    "h": 333.9
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#AB379B
secondary
#7CC186
accent
#DB614D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB379B

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

Preview Lab → · Contrast checker → · Palette generator →

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