#AB3CA1#AB3CA1

#AB3CA1 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.9% C 0.186 H 331.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB3CA1
RGBrgb(171, 60, 161)
HSLhsl(305, 48%, 45%)
HSVhsv(305, 65%, 67%)
CMYKcmyk(0%, 64.9%, 5.8%, 32.9%)
CIE-LABlab(44.89, 57.22, -32.27)
CIE-LCHlch(44.89, 65.70, 330.58°)
OKLaboklab(54.92% 0.1634 -0.0885)
OKLCHoklch(54.92% 0.186 331.6)
XYZxyz(24.8434, 14.4647, 35.1948)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CA1 #3CAB46
analogous
#7D3CAB #AB3CA1 #AB3C6A
triadic
#AB3CA1 #A1AB3C #3CA1AB
tetradic
#AB3CA1 #AB7D3C #3CAB46 #3C6AAB
square
#AB3CA1 #AB7D3C #3CAB46 #3C6AAB
split-complementary
#AB3CA1 #6AAB3C #3CAB7D
monochromatic
#501C4C #7E2C76 #AB3CA1 #C65EBD #D68BD0

Accessibility & contrast

On white

5.39
#AB3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AB3CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CA1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CA1#FFFFFF#000000##FFFFFF
##AB3CA11.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A4
Deuteranopia (green-blind)
#5C709E
Tritanopia (blue-blind)
#B24769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3ca1;
/* rgb */ color: rgb(171, 60, 161);
/* oklch */ color: oklch(54.9% 0.186 331.6);
Tailwind
colors: {
  custom: {
    50: '#c77abd',
    500: '#ab3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ca1;
$custom-light: #c77abd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ca1",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 305.405,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.18588,
    "h": 331.6
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#AB3CA1
secondary
#82C188
accent
#D85C50
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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