#AB1C9B#AB1C9B

#AB1C9B is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.215 H 333.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB1C9B
RGBrgb(171, 28, 155)
HSLhsl(307, 72%, 39%)
HSVhsv(307, 84%, 67%)
CMYKcmyk(0%, 83.6%, 9.4%, 32.9%)
CIE-LABlab(40.99, 66.51, -34.82)
CIE-LCHlch(40.99, 75.07, 332.37°)
OKLaboklab(52.01% 0.1929 -0.0957)
OKLCHoklch(52.01% 0.215 333.6)
XYZxyz(23.1265, 11.8571, 32.0746)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C9B #1CAB2C
analogous
#741CAB #AB1C9B #AB1C54
triadic
#AB1C9B #9BAB1C #1C9BAB
tetradic
#AB1C9B #AB741C #1CAB2C #1C54AB
square
#AB1C9B #AB741C #1CAB2C #1C54AB
split-complementary
#AB1C9B #54AB1C #1CAB74
monochromatic
#420B3C #76136B #AB1C9B #DC28C8 #E45DD5

Accessibility & contrast

On white

6.23
#AB1C9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB1C9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1C9B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C9B#FFFFFF#000000##FFFFFF
##AB1C9B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#526898
Tritanopia (blue-blind)
#B32E5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab1c9b;
/* rgb */ color: rgb(171, 28, 155);
/* oklch */ color: oklch(52.0% 0.215 333.6);
Tailwind
colors: {
  custom: {
    50: '#c86db9',
    500: '#ab1c9b',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c9b;
$custom-light: #c86db9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c9b",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 306.713,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52006,
    "c": 0.21531,
    "h": 333.6
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

primary
#AB1C9B
secondary
#5AC967
accent
#EF4E39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB1C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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