#AB379A#AB379A

#AB379A is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.187 H 334.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB379A
RGBrgb(171, 55, 154)
HSLhsl(309, 51%, 44%)
HSVhsv(309, 68%, 67%)
CMYKcmyk(0%, 67.8%, 9.9%, 32.9%)
CIE-LABlab(43.84, 58.09, -29.74)
CIE-LCHlch(43.84, 65.26, 332.89°)
OKLaboklab(54.04% 0.1685 -0.0812)
OKLCHoklch(54.04% 0.187 334.3)
XYZxyz(23.9937, 13.7254, 31.9512)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB379A #37AB48
analogous
#8237AB #AB379A #AB3760
triadic
#AB379A #9AAB37 #379AAB
tetradic
#AB379A #AB8237 #37AB48 #3760AB
square
#AB379A #AB8237 #37AB48 #3760AB
split-complementary
#AB379A #60AB37 #37AB82
monochromatic
#4E1947 #7D2870 #AB379A #C956B8 #D885CC

Accessibility & contrast

On white

5.61
#AB379A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB379A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB379A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB379A#FFFFFF#000000##FFFFFF
##AB379A1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab379a;
/* rgb */ color: rgb(171, 55, 154);
/* oklch */ color: oklch(54.0% 0.187 334.3);
Tailwind
colors: {
  custom: {
    50: '#c777b8',
    500: '#ab379a',
    950: '#000000',
  },
}
SCSS
$custom: #ab379a;
$custom-light: #c777b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab379a",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 154
  },
  "hsl": {
    "h": 308.793,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.18707,
    "h": 334.3
  },
  "luminance": 0.13723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB379A

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

Preview Lab → · Contrast checker → · Palette generator →

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