#AB1DB3#AB1DB3

#AB1DB3 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.5% C 0.232 H 325.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AB1DB3
RGBrgb(171, 29, 179)
HSLhsl(297, 72%, 41%)
HSVhsv(297, 84%, 70%)
CMYKcmyk(4.5%, 83.8%, 0%, 29.8%)
CIE-LABlab(42.45, 69.99, -46.83)
CIE-LCHlch(42.45, 84.22, 326.21°)
OKLaboklab(53.49% 0.1913 -0.1306)
OKLCHoklch(53.49% 0.232 325.7)
XYZxyz(25.3701, 12.7931, 43.7722)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1DB3 #25B31D
analogous
#601DB3 #AB1DB3 #B31D70
triadic
#AB1DB3 #B3AB1D #1DB3AB
tetradic
#AB1DB3 #B3601D #25B31D #1D70B3
square
#AB1DB3 #B3601D #25B31D #1D70B3
split-complementary
#AB1DB3 #70B31D #1DB360
monochromatic
#460C4A #79147E #AB1DB3 #D430DD #DF64E6

Accessibility & contrast

On white

5.90
#AB1DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB1DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1DB3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1DB3#FFFFFF#000000##FFFFFF
##AB1DB31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#446AB0
Tritanopia (blue-blind)
#AF3D6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab1db3;
/* rgb */ color: rgb(171, 29, 179);
/* oklch */ color: oklch(53.5% 0.232 325.7);
Tailwind
colors: {
  custom: {
    50: '#c86eca',
    500: '#ab1db3',
    950: '#000000',
  },
}
SCSS
$custom: #ab1db3;
$custom-light: #c86eca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1db3",
  "rgb": {
    "r": 171,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 296.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.23162,
    "h": 325.7
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#AB1DB3
secondary
#67CB61
accent
#EF3943
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AB1DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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