#AB2B9D#AB2B9D

#AB2B9D is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.203 H 333.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AB2B9D
RGBrgb(171, 43, 157)
HSLhsl(307, 60%, 42%)
HSVhsv(307, 75%, 67%)
CMYKcmyk(0%, 74.9%, 8.2%, 32.9%)
CIE-LABlab(42.49, 62.78, -33.65)
CIE-LCHlch(42.49, 71.22, 331.81°)
OKLaboklab(53.12% 0.1811 -0.0924)
OKLCHoklch(53.12% 0.203 333)
XYZxyz(23.7444, 12.8220, 33.1161)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B9D #2BAB39
analogous
#792BAB #AB2B9D #AB2B5D
triadic
#AB2B9D #9DAB2B #2B9DAB
tetradic
#AB2B9D #AB792B #2BAB39 #2B5DAB
square
#AB2B9D #AB792B #2BAB39 #2B5DAB
split-complementary
#AB2B9D #5DAB2B #2BAB79
monochromatic
#491243 #7A1F70 #AB2B9D #D043C0 #DC74D1

Accessibility & contrast

On white

5.89
#AB2B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB2B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B9D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B9D#FFFFFF#000000##FFFFFF
##AB2B9D1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A0
Deuteranopia (green-blind)
#566B9A
Tritanopia (blue-blind)
#B33962
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2b9d;
/* rgb */ color: rgb(171, 43, 157);
/* oklch */ color: oklch(53.1% 0.203 333.0);
Tailwind
colors: {
  custom: {
    50: '#c872ba',
    500: '#ab2b9d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b9d;
$custom-light: #c872ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b9d",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 306.563,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53117,
    "c": 0.20333,
    "h": 333
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#AB2B9D
secondary
#6EC478
accent
#E35645
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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