#AB379F#AB379F

#AB379F is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.191 H 332.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AB379F
RGBrgb(171, 55, 159)
HSLhsl(306, 51%, 44%)
HSVhsv(306, 68%, 67%)
CMYKcmyk(0%, 67.8%, 7%, 32.9%)
CIE-LABlab(44.08, 58.88, -32.35)
CIE-LCHlch(44.08, 67.18, 331.22°)
OKLaboklab(54.3% 0.169 -0.0887)
OKLCHoklch(54.3% 0.191 332.3)
XYZxyz(24.4188, 13.8954, 34.1901)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB379F #37AB43
analogous
#7D37AB #AB379F #AB3765
triadic
#AB379F #9FAB37 #379FAB
tetradic
#AB379F #AB7D37 #37AB43 #3765AB
square
#AB379F #AB7D37 #37AB43 #3765AB
split-complementary
#AB379F #65AB37 #37AB7D
monochromatic
#4E1949 #7D2874 #AB379F #C956BD #D885CF

Accessibility & contrast

On white

5.56
#AB379F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AB379F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB379F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB379F#FFFFFF#000000##FFFFFF
##AB379F1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA2
Deuteranopia (green-blind)
#5B6E9C
Tritanopia (blue-blind)
#B24266
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab379f;
/* rgb */ color: rgb(171, 55, 159);
/* oklch */ color: oklch(54.3% 0.191 332.3);
Tailwind
colors: {
  custom: {
    50: '#c777bc',
    500: '#ab379f',
    950: '#000000',
  },
}
SCSS
$custom: #ab379f;
$custom-light: #c777bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab379f",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 306.207,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54295,
    "c": 0.19088,
    "h": 332.3
  },
  "luminance": 0.13894
}

Semantic roles & 50–950 ramp

primary
#AB379F
secondary
#7CC184
accent
#DB5C4D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AB379F

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

Preview Lab → · Contrast checker → · Palette generator →

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