#AB1C9D#AB1C9D

#AB1C9D is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.217 H 332.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AB1C9D
RGBrgb(171, 28, 157)
HSLhsl(306, 72%, 39%)
HSVhsv(306, 84%, 67%)
CMYKcmyk(0%, 83.6%, 8.2%, 32.9%)
CIE-LABlab(41.10, 66.80, -35.86)
CIE-LCHlch(41.10, 75.82, 331.78°)
OKLaboklab(52.12% 0.1929 -0.0987)
OKLCHoklch(52.12% 0.217 332.9)
XYZxyz(23.2958, 11.9248, 32.9666)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C9D #1CAB2A
analogous
#721CAB #AB1C9D #AB1C56
triadic
#AB1C9D #9DAB1C #1C9DAB
tetradic
#AB1C9D #AB721C #1CAB2A #1C56AB
square
#AB1C9D #AB721C #1CAB2A #1C56AB
split-complementary
#AB1C9D #56AB1C #1CAB72
monochromatic
#420B3C #76136D #AB1C9D #DC28CA #E45DD7

Accessibility & contrast

On white

6.20
#AB1C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AB1C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1C9D
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C9D#FFFFFF#000000##FFFFFF
##AB1C9D1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1054A0
Deuteranopia (green-blind)
#51689A
Tritanopia (blue-blind)
#B32F5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab1c9d;
/* rgb */ color: rgb(171, 28, 157);
/* oklch */ color: oklch(52.1% 0.217 332.9);
Tailwind
colors: {
  custom: {
    50: '#c86dba',
    500: '#ab1c9d',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c9d;
$custom-light: #c86dba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c9d",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 305.874,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.21668,
    "h": 332.9
  },
  "luminance": 0.11923
}

Semantic roles & 50–950 ramp

primary
#AB1C9D
secondary
#5AC965
accent
#EF4B39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AB1C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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