#AB1C9E#AB1C9E

#AB1C9E is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.217 H 332.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB1C9E
RGBrgb(171, 28, 158)
HSLhsl(305, 72%, 39%)
HSVhsv(305, 84%, 67%)
CMYKcmyk(0%, 83.6%, 7.6%, 32.9%)
CIE-LABlab(41.15, 66.95, -36.37)
CIE-LCHlch(41.15, 76.19, 331.49°)
OKLaboklab(52.17% 0.1929 -0.1001)
OKLCHoklch(52.17% 0.217 332.6)
XYZxyz(23.3815, 11.9591, 33.4180)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C9E #1CAB29
analogous
#711CAB #AB1C9E #AB1C56
triadic
#AB1C9E #9EAB1C #1C9EAB
tetradic
#AB1C9E #AB711C #1CAB29 #1C56AB
square
#AB1C9E #AB711C #1CAB29 #1C56AB
split-complementary
#AB1C9E #56AB1C #1CAB71
monochromatic
#420B3D #76136D #AB1C9E #DC28CC #E45DD8

Accessibility & contrast

On white

6.19
#AB1C9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB1C9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1C9E
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C9E#FFFFFF#000000##FFFFFF
##AB1C9E1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A1
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#B3305F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab1c9e;
/* rgb */ color: rgb(171, 28, 158);
/* oklch */ color: oklch(52.2% 0.217 332.6);
Tailwind
colors: {
  custom: {
    50: '#c86dbb',
    500: '#ab1c9e',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c9e;
$custom-light: #c86dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c9e",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 305.455,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.21737,
    "h": 332.6
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

primary
#AB1C9E
secondary
#5AC964
accent
#EF4A39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AB1C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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