#AB2C9F#AB2C9F

#AB2C9F is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.204 H 332.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AB2C9F
RGBrgb(171, 44, 159)
HSLhsl(306, 59%, 42%)
HSVhsv(306, 74%, 67%)
CMYKcmyk(0%, 74.3%, 7%, 32.9%)
CIE-LABlab(42.71, 62.77, -34.51)
CIE-LCHlch(42.71, 71.63, 331.20°)
OKLaboklab(53.31% 0.1803 -0.0949)
OKLCHoklch(53.31% 0.204 332.2)
XYZxyz(23.9533, 12.9645, 34.0350)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C9F #2CAB38
analogous
#772CAB #AB2C9F #AB2C60
triadic
#AB2C9F #9FAB2C #2C9FAB
tetradic
#AB2C9F #AB772C #2CAB38 #2C60AB
square
#AB2C9F #AB772C #2CAB38 #2C60AB
split-complementary
#AB2C9F #60AB2C #2CAB77
monochromatic
#4A1344 #7A1F72 #AB2C9F #CF45C2 #DC76D2

Accessibility & contrast

On white

5.85
#AB2C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB2C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C9F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C9F#FFFFFF#000000##FFFFFF
##AB2C9F1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2c9f;
/* rgb */ color: rgb(171, 44, 159);
/* oklch */ color: oklch(53.3% 0.204 332.2);
Tailwind
colors: {
  custom: {
    50: '#c873bc',
    500: '#ab2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c9f;
$custom-light: #c873bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c9f",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 305.669,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53306,
    "c": 0.20374,
    "h": 332.2
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#AB2C9F
secondary
#6FC377
accent
#E25446
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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