#AB2B9F#AB2B9F

#AB2B9F is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.205 H 332.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AB2B9F
RGBrgb(171, 43, 159)
HSLhsl(306, 60%, 42%)
HSVhsv(306, 75%, 67%)
CMYKcmyk(0%, 74.9%, 7%, 32.9%)
CIE-LABlab(42.60, 63.08, -34.68)
CIE-LCHlch(42.60, 71.99, 331.20°)
OKLaboklab(53.23% 0.1812 -0.0954)
OKLCHoklch(53.23% 0.205 332.2)
XYZxyz(23.9165, 12.8909, 34.0227)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B9F #2BAB37
analogous
#772BAB #AB2B9F #AB2B5F
triadic
#AB2B9F #9FAB2B #2B9FAB
tetradic
#AB2B9F #AB772B #2BAB37 #2B5FAB
square
#AB2B9F #AB772B #2BAB37 #2B5FAB
split-complementary
#AB2B9F #5FAB2B #2BAB77
monochromatic
#491244 #7A1F72 #AB2B9F #D043C3 #DC74D2

Accessibility & contrast

On white

5.87
#AB2B9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB2B9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B9F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B9F#FFFFFF#000000##FFFFFF
##AB2B9F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2359A2
Deuteranopia (green-blind)
#556B9C
Tritanopia (blue-blind)
#B23A63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab2b9f;
/* rgb */ color: rgb(171, 43, 159);
/* oklch */ color: oklch(53.2% 0.205 332.2);
Tailwind
colors: {
  custom: {
    50: '#c872bc',
    500: '#ab2b9f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b9f;
$custom-light: #c872bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b9f",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 305.625,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.20478,
    "h": 332.2
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#AB2B9F
secondary
#6EC476
accent
#E35445
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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