#AB3899#AB3899

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

Color values

HEX#AB3899
RGBrgb(171, 56, 153)
HSLhsl(309, 51%, 45%)
HSVhsv(309, 67%, 67%)
CMYKcmyk(0%, 67.3%, 10.5%, 32.9%)
CIE-LABlab(43.93, 57.54, -28.99)
CIE-LCHlch(43.93, 64.43, 333.26°)
OKLaboklab(54.09% 0.1673 -0.0791)
OKLCHoklch(54.09% 0.185 334.7)
XYZxyz(23.9587, 13.7882, 31.5303)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3899 #38AB4A
analogous
#8438AB #AB3899 #AB3860
triadic
#AB3899 #99AB38 #3899AB
tetradic
#AB3899 #AB8438 #38AB4A #3860AB
square
#AB3899 #AB8438 #38AB4A #3860AB
split-complementary
#AB3899 #60AB38 #38AB84
monochromatic
#4F1A47 #7D2970 #AB3899 #C858B7 #D786CB

Accessibility & contrast

On white

5.59
#AB3899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AB3899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3899
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3899#FFFFFF#000000##FFFFFF
##AB38991.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#B34063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3899;
/* rgb */ color: rgb(171, 56, 153);
/* oklch */ color: oklch(54.1% 0.185 334.7);
Tailwind
colors: {
  custom: {
    50: '#c778b7',
    500: '#ab3899',
    950: '#000000',
  },
}
SCSS
$custom: #ab3899;
$custom-light: #c778b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3899",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 309.391,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.18502,
    "h": 334.7
  },
  "luminance": 0.13786
}

Semantic roles & 50–950 ramp

primary
#AB3899
secondary
#7DC188
accent
#DA644E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3899

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

Preview Lab → · Contrast checker → · Palette generator →

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