#AB379E#AB379E

#AB379E is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.190 H 332.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB379E
RGBrgb(171, 55, 158)
HSLhsl(307, 51%, 44%)
HSVhsv(307, 68%, 67%)
CMYKcmyk(0%, 67.8%, 7.6%, 32.9%)
CIE-LABlab(44.03, 58.72, -31.83)
CIE-LCHlch(44.03, 66.79, 331.54°)
OKLaboklab(54.24% 0.1689 -0.0872)
OKLCHoklch(54.24% 0.19 332.7)
XYZxyz(24.3324, 13.8609, 33.7350)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB379E #37AB44
analogous
#7E37AB #AB379E #AB3764
triadic
#AB379E #9EAB37 #379EAB
tetradic
#AB379E #AB7E37 #37AB44 #3764AB
square
#AB379E #AB7E37 #37AB44 #3764AB
split-complementary
#AB379E #64AB37 #37AB7E
monochromatic
#4E1948 #7D2873 #AB379E #C956BC #D885CE

Accessibility & contrast

On white

5.57
#AB379E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AB379E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB379E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB379E#FFFFFF#000000##FFFFFF
##AB379E1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA1
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#B24266
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab379e;
/* rgb */ color: rgb(171, 55, 158);
/* oklch */ color: oklch(54.2% 0.190 332.7);
Tailwind
colors: {
  custom: {
    50: '#c777bb',
    500: '#ab379e',
    950: '#000000',
  },
}
SCSS
$custom: #ab379e;
$custom-light: #c777bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab379e",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 158
  },
  "hsl": {
    "h": 306.724,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54243,
    "c": 0.19011,
    "h": 332.7
  },
  "luminance": 0.13859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB379E

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

Preview Lab → · Contrast checker → · Palette generator →

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