#AB1FB0#AB1FB0

#AB1FB0 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.228 H 326.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB1FB0
RGBrgb(171, 31, 176)
HSLhsl(298, 70%, 41%)
HSVhsv(298, 82%, 69%)
CMYKcmyk(2.8%, 82.4%, 0%, 31%)
CIE-LABlab(42.42, 69.06, -45.10)
CIE-LCHlch(42.42, 82.48, 326.85°)
OKLaboklab(53.41% 0.1903 -0.1255)
OKLCHoklch(53.41% 0.228 326.6)
XYZxyz(25.1206, 12.7743, 42.2085)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1FB0 #24B01F
analogous
#621FB0 #AB1FB0 #B01F6C
triadic
#AB1FB0 #B0AB1F #1FB0AB
tetradic
#AB1FB0 #B0621F #24B01F #1F6CB0
square
#AB1FB0 #B0621F #24B01F #1F6CB0
split-complementary
#AB1FB0 #6CB01F #1FB062
monochromatic
#460D48 #78167C #AB1FB0 #D531DB #E065E4

Accessibility & contrast

On white

5.91
#AB1FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AB1FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1FB0
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1FB0#FFFFFF#000000##FFFFFF
##AB1FB01.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#B03C6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab1fb0;
/* rgb */ color: rgb(171, 31, 176);
/* oklch */ color: oklch(53.4% 0.228 326.6);
Tailwind
colors: {
  custom: {
    50: '#c86fc8',
    500: '#ab1fb0',
    950: '#000000',
  },
}
SCSS
$custom: #ab1fb0;
$custom-light: #c86fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1fb0",
  "rgb": {
    "r": 171,
    "g": 31,
    "b": 176
  },
  "hsl": {
    "h": 297.931,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53409,
    "c": 0.22798,
    "h": 326.6
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#AB1FB0
secondary
#65C962
accent
#ED3B41
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AB1FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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