#AB1CB0#AB1CB0

#AB1CB0 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.2% C 0.230 H 326.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB1CB0
RGBrgb(171, 28, 176)
HSLhsl(298, 73%, 40%)
HSVhsv(298, 84%, 69%)
CMYKcmyk(2.8%, 84.1%, 0%, 31%)
CIE-LABlab(42.19, 69.73, -45.47)
CIE-LCHlch(42.19, 83.24, 326.89°)
OKLaboklab(53.25% 0.1922 -0.1266)
OKLCHoklch(53.25% 0.23 326.6)
XYZxyz(25.0459, 12.6249, 42.1836)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1CB0 #21B01C
analogous
#611CB0 #AB1CB0 #B01C6B
triadic
#AB1CB0 #B0AB1C #1CB0AB
tetradic
#AB1CB0 #B0611C #21B01C #1C6BB0
square
#AB1CB0 #B0611C #21B01C #1C6BB0
split-complementary
#AB1CB0 #6BB01C #1CB061
monochromatic
#440B46 #78147B #AB1CB0 #D72CDD #E161E6

Accessibility & contrast

On white

5.96
#AB1CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB1CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1CB0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1CB0#FFFFFF#000000##FFFFFF
##AB1CB01.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#4669AD
Tritanopia (blue-blind)
#B03A69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab1cb0;
/* rgb */ color: rgb(171, 28, 176);
/* oklch */ color: oklch(53.2% 0.230 326.6);
Tailwind
colors: {
  custom: {
    50: '#c86ec8',
    500: '#ab1cb0',
    950: '#000000',
  },
}
SCSS
$custom: #ab1cb0;
$custom-light: #c86ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1cb0",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 176
  },
  "hsl": {
    "h": 297.973,
    "s": 72.549,
    "l": 40
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.23012,
    "h": 326.6
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#AB1CB0
secondary
#61CA5E
accent
#EF393F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AB1CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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