#AB1FA0#AB1FA0

#AB1FA0 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.216 H 331.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AB1FA0
RGBrgb(171, 31, 160)
HSLhsl(305, 69%, 40%)
HSVhsv(305, 82%, 67%)
CMYKcmyk(0%, 81.9%, 6.4%, 32.9%)
CIE-LABlab(41.50, 66.56, -37.03)
CIE-LCHlch(41.50, 76.17, 330.91°)
OKLaboklab(52.46% 0.1909 -0.1021)
OKLCHoklch(52.46% 0.216 331.9)
XYZxyz(23.6298, 12.1780, 34.3570)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1FA0 #1FAB2A
analogous
#701FAB #AB1FA0 #AB1F5A
triadic
#AB1FA0 #A0AB1F #1FA0AB
tetradic
#AB1FA0 #AB701F #1FAB2A #1F5AAB
square
#AB1FA0 #AB701F #1FAB2A #1F5AAB
split-complementary
#AB1FA0 #5AAB1F #1FAB70
monochromatic
#430C3F #771670 #AB1FA0 #D92ECC #E362D8

Accessibility & contrast

On white

6.11
#AB1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB1FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1FA0
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1FA0#FFFFFF#000000##FFFFFF
##AB1FA01.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E56A3
Deuteranopia (green-blind)
#50699D
Tritanopia (blue-blind)
#B23360
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab1fa0;
/* rgb */ color: rgb(171, 31, 160);
/* oklch */ color: oklch(52.5% 0.216 331.9);
Tailwind
colors: {
  custom: {
    50: '#c86ebc',
    500: '#ab1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #ab1fa0;
$custom-light: #c86ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1fa0",
  "rgb": {
    "r": 171,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 304.714,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.21649,
    "h": 331.9
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#AB1FA0
secondary
#5EC767
accent
#EC4A3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AB1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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