#AB3BA1#AB3BA1

#AB3BA1 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.8% C 0.187 H 331.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB3BA1
RGBrgb(171, 59, 161)
HSLhsl(305, 49%, 45%)
HSVhsv(305, 65%, 67%)
CMYKcmyk(0%, 65.5%, 5.8%, 32.9%)
CIE-LABlab(44.75, 57.63, -32.50)
CIE-LCHlch(44.75, 66.16, 330.58°)
OKLaboklab(54.81% 0.1646 -0.0892)
OKLCHoklch(54.81% 0.187 331.5)
XYZxyz(24.7915, 14.3609, 35.1775)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BA1 #3BAB45
analogous
#7D3BAB #AB3BA1 #AB3B69
triadic
#AB3BA1 #A1AB3B #3BA1AB
tetradic
#AB3BA1 #AB7D3B #3BAB45 #3B69AB
square
#AB3BA1 #AB7D3B #3BAB45 #3B69AB
split-complementary
#AB3BA1 #69AB3B #3BAB7D
monochromatic
#501C4B #7D2B76 #AB3BA1 #C75CBD #D78AD0

Accessibility & contrast

On white

5.42
#AB3BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB3BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BA1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BA1#FFFFFF#000000##FFFFFF
##AB3BA11.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A4
Deuteranopia (green-blind)
#5C6F9E
Tritanopia (blue-blind)
#B24669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3ba1;
/* rgb */ color: rgb(171, 59, 161);
/* oklch */ color: oklch(54.8% 0.187 331.5);
Tailwind
colors: {
  custom: {
    50: '#c779bd',
    500: '#ab3ba1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ba1;
$custom-light: #c779bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ba1",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 305.357,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.18722,
    "h": 331.5
  },
  "luminance": 0.14359
}

Semantic roles & 50–950 ramp

primary
#AB3BA1
secondary
#81C187
accent
#D85C50
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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